Struct rsass::input::CargoLoader
source · pub struct CargoLoader { /* private fields */ }
Expand description
Implementations§
source§impl CargoLoader
impl CargoLoader
sourcepub fn for_crate() -> Result<Self, LoadError>
pub fn for_crate() -> Result<Self, LoadError>
Create a new FsFileContext
.
Files will be resolved from the directory containing the
manifest of your package.
This assumes the program is called by cargo
, so the
CARGO_MANIFEST_DIR
environment variable is set.
Trait Implementations§
source§impl Debug for CargoLoader
impl Debug for CargoLoader
Auto Trait Implementations§
impl Freeze for CargoLoader
impl RefUnwindSafe for CargoLoader
impl Send for CargoLoader
impl Sync for CargoLoader
impl Unpin for CargoLoader
impl UnwindSafe for CargoLoader
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