pub struct Options {
    pub alert_ascii: bool,
    pub alert_color: Option<bool>,
    pub importers: Vec<SassImporter>,
    pub load_paths: Vec<PathBuf>,
    pub logger: Option<BoxLogger>,
    pub quiet_deps: bool,
    pub source_map: bool,
    pub source_map_include_sources: bool,
    pub style: OutputStyle,
    pub verbose: bool,
    pub charset: bool,
}
Expand description

Options that can be passed to [Sass::compile].

More information: Sass documentation

Fields

alert_ascii: bool

More information: Sass documentation

alert_color: Option<bool>

More information: Sass documentation

importers: Vec<SassImporter>

More information: Sass documentation

load_paths: Vec<PathBuf>

More information: Sass documentation

logger: Option<BoxLogger>

More information: Sass documentation

quiet_deps: bool

More information: Sass documentation

source_map: bool

More information: Sass documentation

source_map_include_sources: bool

More information: Sass documentation

style: OutputStyle

More information: Sass documentation

verbose: bool

More information: Sass documentation

charset: bool

More information: Sass documentation

Trait Implementations

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
Converts to this type from the input type.
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.