pub trait FromResources {
    // Provided method
    fn from_resources(resources: &Resources) -> FromResourcesResult<Self>
       where Self: Sized + Clone + Send + Sync + 'static { ... }
}

Provided Methods§

source

fn from_resources(resources: &Resources) -> FromResourcesResult<Self>
where Self: Sized + Clone + Send + Sync + 'static,

Implementations on Foreign Types§

source§

impl<T> FromResources for Option<T>
where T: FromResources + Sized + Clone + Send + Sync + 'static,

Implements FromResources to allow requesting Option when T implements FromResources.

Implementors§