pub struct CSSRule {
pub style_sheet_id: Option<StyleSheetId>,
pub selector_list: SelectorList,
pub nesting_selectors: Option<Vec<String>>,
pub origin: StyleSheetOrigin,
pub style: CSSStyle,
pub media: Option<Vec<CSSMedia>>,
pub container_queries: Option<Vec<CSSContainerQuery>>,
pub supports: Option<Vec<CSSSupports>>,
pub layers: Option<Vec<CSSLayer>>,
pub scopes: Option<Vec<CSSScope>>,
pub rule_types: Option<Vec<CSSRuleType>>,
pub starting_styles: Option<Vec<CSSStartingStyle>>,
}
Fields§
§style_sheet_id: Option<StyleSheetId>
§selector_list: SelectorList
§nesting_selectors: Option<Vec<String>>
§origin: StyleSheetOrigin
§style: CSSStyle
§media: Option<Vec<CSSMedia>>
§container_queries: Option<Vec<CSSContainerQuery>>
§supports: Option<Vec<CSSSupports>>
§layers: Option<Vec<CSSLayer>>
§scopes: Option<Vec<CSSScope>>
§rule_types: Option<Vec<CSSRuleType>>
§starting_styles: Option<Vec<CSSStartingStyle>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CSSRule
impl<'de> Deserialize<'de> for CSSRule
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
impl StructuralPartialEq for CSSRule
Auto Trait Implementations§
impl Freeze for CSSRule
impl RefUnwindSafe for CSSRule
impl Send for CSSRule
impl Sync for CSSRule
impl Unpin for CSSRule
impl UnwindSafe for CSSRule
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,
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