pub struct SubModule<T> { /* private fields */ }Expand description
A wrapper struct for a module implementing the Module trait.
This struct is used to implement an Odra module that is a composition of other modules.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for SubModule<T>
impl<T> !RefUnwindSafe for SubModule<T>
impl<T> !Send for SubModule<T>
impl<T> !Sync for SubModule<T>
impl<T> Unpin for SubModule<T>where
T: Unpin,
impl<T> !UnwindSafe for SubModule<T>
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