pub struct QualifiedRule<'a, P, D, R>where
D: DeclarationValue<'a>,{
pub prelude: P,
pub block: Block<'a, D, R>,
}Fields§
§prelude: P§block: Block<'a, D, R>Trait Implementations§
Source§impl<'a, P: Clone, D, R: Clone> Clone for QualifiedRule<'a, P, D, R>where
D: DeclarationValue<'a> + Clone,
impl<'a, P: Clone, D, R: Clone> Clone for QualifiedRule<'a, P, D, R>where
D: DeclarationValue<'a> + Clone,
Source§fn clone(&self) -> QualifiedRule<'a, P, D, R>
fn clone(&self) -> QualifiedRule<'a, P, D, R>
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, P: Debug, D, R: Debug> Debug for QualifiedRule<'a, P, D, R>where
D: DeclarationValue<'a> + Debug,
impl<'a, P: Debug, D, R: Debug> Debug for QualifiedRule<'a, P, D, R>where
D: DeclarationValue<'a> + Debug,
Source§impl<'a, P: Hash, D, R: Hash> Hash for QualifiedRule<'a, P, D, R>where
D: DeclarationValue<'a> + Hash,
impl<'a, P: Hash, D, R: Hash> Hash for QualifiedRule<'a, P, D, R>where
D: DeclarationValue<'a> + Hash,
Source§impl<'a, P: Ord, D, R: Ord> Ord for QualifiedRule<'a, P, D, R>where
D: DeclarationValue<'a> + Ord,
impl<'a, P: Ord, D, R: Ord> Ord for QualifiedRule<'a, P, D, R>where
D: DeclarationValue<'a> + Ord,
Source§fn cmp(&self, other: &QualifiedRule<'a, P, D, R>) -> Ordering
fn cmp(&self, other: &QualifiedRule<'a, P, D, R>) -> 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, P, D, R> Parse<'a> for QualifiedRule<'a, P, D, R>
A QualifiedRule represents a block with a prelude which may contain other rules.
Examples of QualifiedRules are StyleRule, KeyframeRule (no s!).
impl<'a, P, D, R> Parse<'a> for QualifiedRule<'a, P, D, R>
A QualifiedRule represents a block with a prelude which may contain other rules. Examples of QualifiedRules are StyleRule, KeyframeRule (no s!).
Source§impl<'a, P: PartialEq, D, R: PartialEq> PartialEq for QualifiedRule<'a, P, D, R>where
D: DeclarationValue<'a> + PartialEq,
impl<'a, P: PartialEq, D, R: PartialEq> PartialEq for QualifiedRule<'a, P, D, R>where
D: DeclarationValue<'a> + PartialEq,
Source§impl<'a, P: PartialOrd, D, R: PartialOrd> PartialOrd for QualifiedRule<'a, P, D, R>where
D: DeclarationValue<'a> + PartialOrd,
impl<'a, P: PartialOrd, D, R: PartialOrd> PartialOrd for QualifiedRule<'a, P, D, R>where
D: DeclarationValue<'a> + PartialOrd,
Source§impl<'a, P, D, R> Peek<'a> for QualifiedRule<'a, P, D, R>where
P: Peek<'a>,
D: DeclarationValue<'a>,
impl<'a, P, D, R> Peek<'a> for QualifiedRule<'a, P, D, R>where
P: Peek<'a>,
D: DeclarationValue<'a>,
Source§impl<'a, P, D, R> ToCursors for QualifiedRule<'a, P, D, R>
impl<'a, P, D, R> ToCursors for QualifiedRule<'a, P, D, R>
fn to_cursors(&self, s: &mut impl CursorSink)
Source§impl<'a, P, D, R> ToSpan for QualifiedRule<'a, P, D, R>
impl<'a, P, D, R> ToSpan for QualifiedRule<'a, P, D, R>
impl<'a, P: Eq, D, R: Eq> Eq for QualifiedRule<'a, P, D, R>where
D: DeclarationValue<'a> + Eq,
impl<'a, P, D, R> StructuralPartialEq for QualifiedRule<'a, P, D, R>where
D: DeclarationValue<'a>,
Auto Trait Implementations§
impl<'a, P, D, R> Freeze for QualifiedRule<'a, P, D, R>where
P: Freeze,
impl<'a, P, D, R> !RefUnwindSafe for QualifiedRule<'a, P, D, R>
impl<'a, P, D, R> !Send for QualifiedRule<'a, P, D, R>
impl<'a, P, D, R> !Sync for QualifiedRule<'a, P, D, R>
impl<'a, P, D, R> Unpin for QualifiedRule<'a, P, D, R>where
P: Unpin,
impl<'a, P, D, R> !UnwindSafe for QualifiedRule<'a, P, D, R>
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