pub struct SetupContext { /* private fields */ }Implementations§
Source§impl SetupContext
impl SetupContext
pub fn use_dependency<T>( &self, relationship: &Dependency<T>, ) -> Result<T, MicrodeError>
Trait Implementations§
Source§impl Clone for SetupContext
impl Clone for SetupContext
Source§fn clone(&self) -> SetupContext
fn clone(&self) -> SetupContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for SetupContext
impl !UnwindSafe for SetupContext
impl Freeze for SetupContext
impl Send for SetupContext
impl Sync for SetupContext
impl Unpin for SetupContext
impl UnsafeUnpin for SetupContext
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