Struct rsass::input::CargoLoader
source · [−]pub struct CargoLoader { /* private fields */ }
Expand description
Implementations
sourceimpl 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
sourceimpl Debug for CargoLoader
impl Debug for CargoLoader
Auto Trait Implementations
impl RefUnwindSafe for CargoLoader
impl Send for CargoLoader
impl Sync for CargoLoader
impl Unpin for CargoLoader
impl UnwindSafe for CargoLoader
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