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
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§
Source§impl LegacyImporterResult
impl LegacyImporterResult
Auto Trait Implementations§
impl Freeze for LegacyImporterResult
impl RefUnwindSafe for LegacyImporterResult
impl Send for LegacyImporterResult
impl Sync for LegacyImporterResult
impl Unpin for LegacyImporterResult
impl UnwindSafe for LegacyImporterResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more