pub struct Module<K, V> {
pub data: V,
/* private fields */
}
Expand description
A module with data and submodules.
Fields§
§data: V
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<K, V> Freeze for Module<K, V>where
V: Freeze,
impl<K, V> RefUnwindSafe for Module<K, V>where
V: RefUnwindSafe,
K: RefUnwindSafe,
impl<K, V> Send for Module<K, V>
impl<K, V> Sync for Module<K, V>
impl<K, V> Unpin for Module<K, V>where
V: Unpin,
impl<K, V> UnwindSafe for Module<K, V>
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