pub enum Rule<'a, B = SimpleBlock<'a>> {
At(AtRule<'a, B>),
Qualified(QualifiedRule<'a, B>),
}Variants§
At(AtRule<'a, B>)
Qualified(QualifiedRule<'a, B>)
Implementations§
Trait Implementations§
impl<'a, B> StructuralPartialEq for Rule<'a, B>where
B: PartialEq,
Auto Trait Implementations§
impl<'a, B> Forget for Rule<'a, B>
impl<'a, B> Freeze for Rule<'a, B>
impl<'a, B> Move for Rule<'a, B>
impl<'a, B> RefUnwindSafe for Rule<'a, B>
impl<'a, B> Send for Rule<'a, B>
impl<'a, B> Sync for Rule<'a, B>
impl<'a, B> Unpin for Rule<'a, B>
impl<'a, B> UnsafeUnpin for Rule<'a, B>where
&'a str: UnsafeUnpin,
String: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<ComponentValue<'a>>: UnsafeUnpin,
B: UnsafeUnpin,
impl<'a, B> UnwindSafe for Rule<'a, B>
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