pub struct AttrExt {
pub case_insensitive: bool,
pub case_sensitive: bool,
pub any_ns: bool,
}Expand description
属性セレクタの付帯情報。CompoundSel::attr_ext に CompoundSel::attrs と同じ添字で並ぶ
(AttrSel 自体はテストがリテラルで組むため形を変えない)。
Fields§
§case_insensitive: bool[a=v i](値を ASCII の大小無視で比べる)。
case_sensitive: bool[a=v s](HTML の既定で大小無視になる属性でも大小を区別する)。
any_ns: bool[*|a](どの名前空間の属性でもよい。接頭辞なし・|a は名前空間なしの属性だけ)。
Trait Implementations§
impl Copy for AttrExt
impl Eq for AttrExt
impl StructuralPartialEq for AttrExt
Auto Trait Implementations§
impl Freeze for AttrExt
impl RefUnwindSafe for AttrExt
impl Send for AttrExt
impl Sync for AttrExt
impl Unpin for AttrExt
impl UnsafeUnpin for AttrExt
impl UnwindSafe for AttrExt
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.