Skip to main content

EnvExt

Trait EnvExt 

Source
pub trait EnvExt {
    // Required method
    fn get_as<T: Var + 'static>(&self, name: &str) -> Option<Rc<T>>;
}

Required Methods§

Source

fn get_as<T: Var + 'static>(&self, name: &str) -> Option<Rc<T>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<E: Env + ?Sized> EnvExt for E