pub struct CssScope {
pub text: String,
pub range: Option<SourceRange>,
pub style_sheet_id: Option<StyleSheetId>,
}Expand description
CSS Scope at-rule descriptor. CSSScope
Fields§
§text: StringScope rule text.
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§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CssScope
impl<'de> Deserialize<'de> for CssScope
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 CssScope
Auto Trait Implementations§
impl Freeze for CssScope
impl RefUnwindSafe for CssScope
impl Send for CssScope
impl Sync for CssScope
impl Unpin for CssScope
impl UnwindSafe for CssScope
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