pub struct CssRule {Show 13 fields
pub style_sheet_id: Option<StyleSheetId>,
pub selector_list: SelectorList,
pub nesting_selectors: Option<Vec<String>>,
pub origin: StyleSheetOrigin,
pub style: CssStyle,
pub origin_tree_scope_node_id: Option<BackendNodeId>,
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§origin_tree_scope_node_id: Option<BackendNodeId>§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