pub enum Item {
Comment(Comment),
Import(Import),
Rule(Rule),
MediaRule(MediaRule),
AtRule(AtRule),
Separator,
}
Expand description
A top-level item in a css file.
Variants§
Comment(Comment)
A comment
Import(Import)
A css import statement
Rule(Rule)
A css rule.
MediaRule(MediaRule)
An @media
rule.
AtRule(AtRule)
An (unknown) @
rule.
Separator
An extra newline for grouping (unless compressed format).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Item
impl !RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl !UnwindSafe for Item
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