enum AttributeFlags {
CaseSensitive,
AsciiCaseInsensitive,
CaseSensitivityDependsOnName,
}Expand description
An attribute selector can have ‘s’ or ‘i’ as flags, or no flags at all.
Variants§
Implementations§
Source§impl AttributeFlags
impl AttributeFlags
fn to_case_sensitivity( self, local_name_lower: &str, have_namespace: bool, ) -> ParsedCaseSensitivity
Trait Implementations§
Source§impl Clone for AttributeFlags
impl Clone for AttributeFlags
Source§fn clone(&self) -> AttributeFlags
fn clone(&self) -> AttributeFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AttributeFlags
Auto Trait Implementations§
impl Freeze for AttributeFlags
impl RefUnwindSafe for AttributeFlags
impl Send for AttributeFlags
impl Sync for AttributeFlags
impl Unpin for AttributeFlags
impl UnsafeUnpin for AttributeFlags
impl UnwindSafe for AttributeFlags
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