pub struct MatchedRule {
pub selector: String,
pub specificity: u32,
pub order: u32,
pub media: Option<String>,
pub state: &'static str,
pub ancestor_state: bool,
pub pseudo: Option<&'static str>,
pub declarations: Vec<(String, String, bool)>,
pub diagnostics: Vec<String>,
}Fields§
§selector: String§specificity: u32§order: u32§media: Option<String>§state: &'static str§ancestor_state: bool§pseudo: Option<&'static str>§declarations: Vec<(String, String, bool)>§diagnostics: Vec<String>Trait Implementations§
Source§impl Clone for MatchedRule
impl Clone for MatchedRule
Auto Trait Implementations§
impl Forget for MatchedRule
impl Freeze for MatchedRule
impl Move for MatchedRule
impl RefUnwindSafe for MatchedRule
impl Send for MatchedRule
impl Sync for MatchedRule
impl Unpin for MatchedRule
impl UnsafeUnpin for MatchedRule
impl UnwindSafe for MatchedRule
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more