Enum sass_embedded::legacy::LegacyImporterResult
source · [−]pub enum LegacyImporterResult {
File(PathBuf),
Contents {
contents: String,
file: Option<PathBuf>,
},
}Expand description
More information: Sass documentation
Variants
File(PathBuf)
An object with the key file whose value is a path on disk. This causes Sass to load that file as though it had been imported directly.
Contents
Fields
contents: StringThe contents of the stylesheet.
An object with the key contents whose value is the contents of a stylesheet (in SCSS syntax). This causes Sass to load that stylesheet’s contents.
Implementations
sourceimpl LegacyImporterResult
impl LegacyImporterResult
Auto Trait Implementations
impl RefUnwindSafe for LegacyImporterResult
impl Send for LegacyImporterResult
impl Sync for LegacyImporterResult
impl Unpin for LegacyImporterResult
impl UnwindSafe for LegacyImporterResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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