pub struct ResolveModule { /* private fields */ }Expand description
A type representing a Module, converted from a type that implements Module.
Implementations§
Source§impl ResolveModule
impl ResolveModule
Sourcepub fn new<T: Module + 'static>() -> Self
pub fn new<T: Module + 'static>() -> Self
Create a ResolveModule from a type that implements Module.
Sourcepub fn eager_create(&self) -> bool
pub fn eager_create(&self) -> bool
Whether the providers included in the module should be created eagerly.
Auto Trait Implementations§
impl Freeze for ResolveModule
impl !RefUnwindSafe for ResolveModule
impl !Send for ResolveModule
impl !Sync for ResolveModule
impl Unpin for ResolveModule
impl !UnwindSafe for ResolveModule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more