Struct preserves_path::context::Env
source · [−]Tuple Fields
0: Env<IOValue>Implementations
sourceimpl Env
impl Env
pub fn new() -> Self
pub fn load_bundle(&mut self, filename: &PathBuf) -> Result<()>
pub fn lookup_definition(
&self,
module: &Vec<String>,
name: &str
) -> Option<&Definition<IOValue>>
pub fn to_context(&self) -> Context<'_>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Env
impl Send for Env
impl Sync for Env
impl Unpin for Env
impl UnwindSafe for Env
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