pub enum Item<'a, B = SimpleBlock<'a>> {
Declaration(Declaration<'a>),
Rule(Rule<'a, B>),
}Expand description
One thing in a block: style rules and the nesting-era at-rules mix declarations and rules, in order.
Variants§
Declaration(Declaration<'a>)
Rule(Rule<'a, B>)
Trait Implementations§
impl<'a, B: PartialEq> StructuralPartialEq for Item<'a, B>
Auto Trait Implementations§
impl<'a, B> Forget for Item<'a, B>
impl<'a, B> Freeze for Item<'a, B>
impl<'a, B> Move for Item<'a, B>
impl<'a, B> RefUnwindSafe for Item<'a, B>where
Rule<'a, B>: RefUnwindSafe,
impl<'a, B> Send for Item<'a, B>
impl<'a, B> Sync for Item<'a, B>
impl<'a, B> Unpin for Item<'a, B>
impl<'a, B> UnsafeUnpin for Item<'a, B>where
Rule<'a, B>: UnsafeUnpin,
impl<'a, B> UnwindSafe for Item<'a, B>where
Rule<'a, B>: UnwindSafe,
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