pub struct SupportsRuleBlock<'a>(pub RuleList<'a, Rule<'a>, CssMetadata>);Tuple Fields§
§0: RuleList<'a, Rule<'a>, CssMetadata>Trait Implementations§
Source§impl<'a> Clone for SupportsRuleBlock<'a>
impl<'a> Clone for SupportsRuleBlock<'a>
Source§fn clone(&self) -> SupportsRuleBlock<'a>
fn clone(&self) -> SupportsRuleBlock<'a>
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<'a> Debug for SupportsRuleBlock<'a>
impl<'a> Debug for SupportsRuleBlock<'a>
Source§impl<'a> Hash for SupportsRuleBlock<'a>
impl<'a> Hash for SupportsRuleBlock<'a>
Source§impl<'a> NodeWithMetadata<CssMetadata> for SupportsRuleBlock<'a>
impl<'a> NodeWithMetadata<CssMetadata> for SupportsRuleBlock<'a>
Source§fn self_metadata(&self) -> CssMetadata
fn self_metadata(&self) -> CssMetadata
Returns the metadata contributed by this node itself, not including children.
Most nodes don’t contribute metadata, so can simply return
M::default().
Nodes like StyleRule or AtRules should return their own node kind flags here.Source§fn metadata(&self) -> CssMetadata
fn metadata(&self) -> CssMetadata
Returns the complete aggregated metadata for this node (self + children).
Default implementation merges children’s metadata with self_metadata().
Source§impl<'a> Ord for SupportsRuleBlock<'a>
impl<'a> Ord for SupportsRuleBlock<'a>
Source§fn cmp(&self, other: &SupportsRuleBlock<'a>) -> Ordering
fn cmp(&self, other: &SupportsRuleBlock<'a>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> Parse<'a> for SupportsRuleBlock<'a>
impl<'a> Parse<'a> for SupportsRuleBlock<'a>
Source§impl<'a> PartialEq for SupportsRuleBlock<'a>
impl<'a> PartialEq for SupportsRuleBlock<'a>
Source§impl<'a> PartialOrd for SupportsRuleBlock<'a>
impl<'a> PartialOrd for SupportsRuleBlock<'a>
Source§impl<'a> Peek<'a> for SupportsRuleBlock<'a>
impl<'a> Peek<'a> for SupportsRuleBlock<'a>
Source§impl<'a> SemanticEq for SupportsRuleBlock<'a>
impl<'a> SemanticEq for SupportsRuleBlock<'a>
Source§fn semantic_eq(&self, other: &Self) -> bool
fn semantic_eq(&self, other: &Self) -> bool
Returns
true if self and other are semantically equal.Source§impl<'a> ToCursors for SupportsRuleBlock<'a>
impl<'a> ToCursors for SupportsRuleBlock<'a>
fn to_cursors(&self, s: &mut impl CursorSink)
impl<'a> Eq for SupportsRuleBlock<'a>
impl<'a> StructuralPartialEq for SupportsRuleBlock<'a>
Auto Trait Implementations§
impl<'a> Freeze for SupportsRuleBlock<'a>
impl<'a> !RefUnwindSafe for SupportsRuleBlock<'a>
impl<'a> !Send for SupportsRuleBlock<'a>
impl<'a> !Sync for SupportsRuleBlock<'a>
impl<'a> Unpin for SupportsRuleBlock<'a>
impl<'a> !UnwindSafe for SupportsRuleBlock<'a>
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