Struct sass_embedded::StringOptions
source · [−]pub struct StringOptions {
pub common: Options,
pub input_importer: Option<SassImporter>,
pub syntax: Syntax,
pub url: Option<Url>,
}
Expand description
Options that can be passed to [Sass::compile_string].
More information: Sass documentation
Fields
common: Options
Field for Options
input_importer: Option<SassImporter>
More information: Sass documentation
syntax: Syntax
More information: Sass documentation
url: Option<Url>
More information: Sass documentation
Trait Implementations
sourceimpl Debug for StringOptions
impl Debug for StringOptions
sourceimpl Default for StringOptions
impl Default for StringOptions
sourcefn default() -> StringOptions
fn default() -> StringOptions
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for StringOptions
impl<'de> Deserialize<'de> for StringOptions
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<LegacyOptions> for StringOptions
impl From<LegacyOptions> for StringOptions
sourcefn from(options: LegacyOptions) -> Self
fn from(options: LegacyOptions) -> Self
Converts to this type from the input type.
sourceimpl Serialize for StringOptions
impl Serialize for StringOptions
Auto Trait Implementations
impl !RefUnwindSafe for StringOptions
impl Send for StringOptions
impl Sync for StringOptions
impl Unpin for StringOptions
impl !UnwindSafe for StringOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more