pub struct CSSSupports {
pub text: String,
pub active: bool,
pub range: Option<SourceRange>,
pub styleSheetId: Option<StyleSheetId>,
}Expand description
CSS Supports at-rule descriptor.
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).
styleSheetId: Option<StyleSheetId>Identifier of the stylesheet containing this object (if exists).
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 Default for CSSSupports
impl Default for CSSSupports
Source§fn default() -> CSSSupports
fn default() -> CSSSupports
Returns the “default value” for a type. Read more
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
Auto Trait Implementations§
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