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: &[Item],
globals: &mut Scope,
file_context: &FileContext
) -> Result<Vec<u8>, Error>
[src]
&self,
items: &[Item],
globals: &mut Scope,
file_context: &FileContext
) -> Result<Vec<u8>, Error>
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
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for OutputStyle
[src]
impl Debug for OutputStyle
[src]
impl PartialEq for OutputStyle
[src]
fn eq(&self, __arg_0: &OutputStyle) -> bool
[src]
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[src]
This method tests for !=
.