Enum rsass::css::AtRuleBodyItem
source · pub enum AtRuleBodyItem {
Import(Import),
Comment(Comment),
Rule(Rule),
Property(Property),
CustomProperty(CustomProperty),
MediaRule(MediaRule),
AtRule(AtRule),
}
Expand description
Something that may exist in the body of an AtRule
.
Variants§
Import(Import)
An @import
statement.
Comment(Comment)
A comment
Rule(Rule)
A rule
Property(Property)
A raw property.
CustomProperty(CustomProperty)
A custom property declaration with a name and a value.
MediaRule(MediaRule)
An @media
rule.
AtRule(AtRule)
An @
rule.
Trait Implementations§
source§impl Clone for AtRuleBodyItem
impl Clone for AtRuleBodyItem
source§fn clone(&self) -> AtRuleBodyItem
fn clone(&self) -> AtRuleBodyItem
Returns a copy 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 Debug for AtRuleBodyItem
impl Debug for AtRuleBodyItem
source§impl From<AtRule> for AtRuleBodyItem
impl From<AtRule> for AtRuleBodyItem
source§impl From<BodyItem> for AtRuleBodyItem
impl From<BodyItem> for AtRuleBodyItem
source§impl From<Comment> for AtRuleBodyItem
impl From<Comment> for AtRuleBodyItem
source§impl From<Import> for AtRuleBodyItem
impl From<Import> for AtRuleBodyItem
source§impl From<MediaRule> for AtRuleBodyItem
impl From<MediaRule> for AtRuleBodyItem
source§impl From<Property> for AtRuleBodyItem
impl From<Property> for AtRuleBodyItem
source§impl From<Rule> for AtRuleBodyItem
impl From<Rule> for AtRuleBodyItem
Auto Trait Implementations§
impl Freeze for AtRuleBodyItem
impl !RefUnwindSafe for AtRuleBodyItem
impl Send for AtRuleBodyItem
impl Sync for AtRuleBodyItem
impl Unpin for AtRuleBodyItem
impl !UnwindSafe for AtRuleBodyItem
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