pub struct CSSNavigation<'a> { /* private fields */ }Expand description
CSS Navigation at-rule descriptor.
Implementations§
Sourcepub fn builder(text: impl Into<Cow<'a, str>>) -> CSSNavigationBuilder<'a>
pub fn builder(text: impl Into<Cow<'a, str>>) -> CSSNavigationBuilder<'a>
Creates a builder for this type with the required parameters:
text: Navigation rule text.
Sourcepub fn range(&self) -> Option<&SourceRange>
pub fn range(&self) -> Option<&SourceRange>
The associated rule header range in the enclosing stylesheet (if available).
Sourcepub fn style_sheet_id(&self) -> Option<&StyleSheetId<'a>>
pub fn style_sheet_id(&self) -> Option<&StyleSheetId<'a>>
Identifier of the stylesheet containing this object (if exists).
Trait Implementations§
Source§fn clone(&self) -> CSSNavigation<'a>
fn clone(&self) -> CSSNavigation<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§fn default() -> CSSNavigation<'a>
fn default() -> CSSNavigation<'a>
Returns the “default value” for a type. Read more
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§
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