[−][src]Struct nested_modules::Module
A module with data and submodules.
Fields
data: V
Implementations
impl<K: Ord, V> Module<K, V>
[src]
pub fn get(&self, path: &[K]) -> Option<&Self>
[src]
Return a reference to a submodule at the given path.
Trait Implementations
impl<K: Ord, V: Default> Default for Module<K, V>
[src]
impl<K: Ord, V> From<Context<K, V>> for Module<K, V>
[src]
impl<K, V> From<Module<K, V>> for Context<K, V>
[src]
impl<K: Ord, V> From<V> for Module<K, V>
[src]
Auto Trait Implementations
impl<K, V> Send for Module<K, V> where
K: Send,
V: Send,
K: Send,
V: Send,
impl<K, V> Sync for Module<K, V> where
K: Sync,
V: Sync,
K: Sync,
V: Sync,
impl<K, V> Unpin for Module<K, V> where
K: Unpin,
V: Unpin,
K: Unpin,
V: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<!> for T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,