pub struct CssSupports {
pub text: String,
pub active: bool,
pub range: Option<SourceRange>,
pub style_sheet_id: Option<StyleSheetId>,
}Expand description
CSS Supports at-rule descriptor. CSSSupports
Fields§
§text: StringSupports rule text.
active: boolWhether the supports condition is satisfied.
range: Option<SourceRange>The associated rule header range in the enclosing stylesheet (if available).
style_sheet_id: Option<StyleSheetId>Identifier of the stylesheet containing this object (if exists).
Implementations§
Source§impl CssSupports
impl CssSupports
pub fn builder() -> CssSupportsBuilder
Source§impl CssSupports
impl CssSupports
pub const IDENTIFIER: &'static str = "CSS.CSSSupports"
Trait Implementations§
Source§impl Clone for CssSupports
impl Clone for CssSupports
Source§fn clone(&self) -> CssSupports
fn clone(&self) -> CssSupports
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 CssSupports
impl Debug for CssSupports
Source§impl<'de> Deserialize<'de> for CssSupports
impl<'de> Deserialize<'de> for CssSupports
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 CssSupports
impl PartialEq for CssSupports
Source§impl Serialize for CssSupports
impl Serialize for CssSupports
impl StructuralPartialEq for CssSupports
Auto Trait Implementations§
impl Freeze for CssSupports
impl RefUnwindSafe for CssSupports
impl Send for CssSupports
impl Sync for CssSupports
impl Unpin for CssSupports
impl UnwindSafe for CssSupports
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