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.
Experimental: may change without notice.
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).
Trait Implementations§
Source§impl Clone for CssSupports
impl Clone for CssSupports
Source§impl Debug for CssSupports
impl Debug for CssSupports
Source§impl Default for CssSupports
impl Default 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 Forget for CssSupports
impl Freeze for CssSupports
impl RefUnwindSafe for CssSupports
impl Send for CssSupports
impl Sync for CssSupports
impl Unpin for CssSupports
impl UnsafeUnpin 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