Struct di::Scope [] [src]

pub struct Scope<T> {
    // some fields omitted
}

Methods

impl<T: Any> Scope<T>
[src]

fn from_any_instance(obj: AnyInstance, childs: Vec<Box<Any>>) -> Scope<T>

fn explode(self) -> T

fn lock<'a>(&'a mut self) -> LockResult<MaybeMutexGuard<'a, T>>

fn get_instance(&self) -> &Instance<T>

Trait Implementations

impl<T> Send for Scope<T>
[src]

impl<T> Sync for Scope<T>
[src]

Derived Implementations

impl<T: Debug> Debug for Scope<T>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.