Enum rsass::OutputStyle
[−]
[src]
pub enum OutputStyle { Normal, Compressed, }
Selected target format. Only formats that are variants of this type are supported by rsass.
Variants
Normal
Compressed
Methods
impl OutputStyle
[src]
fn write_root(&self,
items: &[SassItem],
file_context: FileContext)
-> Result<Vec<u8>, String>
items: &[SassItem],
file_context: FileContext)
-> Result<Vec<u8>, String>
Write a slice of sass items in this format.
The file_context
is needed if there are @import
statements
in the sass file.
Trait Implementations
impl Clone for OutputStyle
[src]
fn clone(&self) -> OutputStyle
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 OutputStyle
[src]
impl PartialEq for OutputStyle
[src]
fn eq(&self, __arg_0: &OutputStyle) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.