Enum rsass::SassItem
[−]
[src]
pub enum SassItem { None, Comment(String), Import(Value), Property(String, Value), Rule(Vec<Selector>, Vec<SassItem>), VariableDeclaration { name: String, val: Value, global: bool, }, MixinDeclaration(MixinDeclaration), MixinCall { name: String, args: CallArgs, }, IfStatement(Value, Vec<SassItem>, Vec<SassItem>), }
Variants
None
Comment(String)
Import(Value)
Property(String, Value)
Rule(Vec<Selector>, Vec<SassItem>)
VariableDeclaration
Fields of VariableDeclaration
name: String | |
val: Value | |
global: bool |
MixinDeclaration(MixinDeclaration)
MixinCall
Fields of MixinCall
name: String | |
args: CallArgs |
IfStatement(Value, Vec<SassItem>, Vec<SassItem>)
Trait Implementations
impl Clone for SassItem
[src]
fn clone(&self) -> SassItem
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for SassItem
[src]
impl PartialEq for SassItem
[src]
fn eq(&self, __arg_0: &SassItem) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SassItem) -> bool
This method tests for !=
.