pub struct ParsedVariant {
pub name: String,
pub variant_type: VariantType,
pub selector_fragment: String,
pub specificity: u32,
pub position: usize,
}Expand description
Parsed individual variant
Fields§
§name: StringVariant name
variant_type: VariantTypeVariant type
selector_fragment: StringCSS selector fragment
specificity: u32Specificity weight
position: usizePosition in the combination
Trait Implementations§
Source§impl Clone for ParsedVariant
impl Clone for ParsedVariant
Source§fn clone(&self) -> ParsedVariant
fn clone(&self) -> ParsedVariant
Returns a duplicate 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 Debug for ParsedVariant
impl Debug for ParsedVariant
Source§impl<'de> Deserialize<'de> for ParsedVariant
impl<'de> Deserialize<'de> for ParsedVariant
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 PartialEq for ParsedVariant
impl PartialEq for ParsedVariant
Source§impl Serialize for ParsedVariant
impl Serialize for ParsedVariant
impl StructuralPartialEq for ParsedVariant
Auto Trait Implementations§
impl Freeze for ParsedVariant
impl RefUnwindSafe for ParsedVariant
impl Send for ParsedVariant
impl Sync for ParsedVariant
impl Unpin for ParsedVariant
impl UnwindSafe for ParsedVariant
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