pub enum AttributeSelector<'a> {
Hash(&'a str),
Class(&'a str),
Attribute(Attribute<'a>),
Psuedo(Psuedo<'a>),
Negation(Negation<'a>),
}
Variants§
Trait Implementations§
Source§impl<'a> Clone for AttributeSelector<'a>
impl<'a> Clone for AttributeSelector<'a>
Source§fn clone(&self) -> AttributeSelector<'a>
fn clone(&self) -> AttributeSelector<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de: 'a, 'a> Deserialize<'de> for AttributeSelector<'a>
impl<'de: 'a, 'a> Deserialize<'de> for AttributeSelector<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a> Serialize for AttributeSelector<'a>
impl<'a> Serialize for AttributeSelector<'a>
impl<'a> Node<'a> for AttributeSelector<'a>
Auto Trait Implementations§
impl<'a> Freeze for AttributeSelector<'a>
impl<'a> RefUnwindSafe for AttributeSelector<'a>
impl<'a> Send for AttributeSelector<'a>
impl<'a> Sync for AttributeSelector<'a>
impl<'a> Unpin for AttributeSelector<'a>
impl<'a> UnwindSafe for AttributeSelector<'a>
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