pub struct StructuredDictMap<T: StructuredDict> { /* private fields */ }
Expand description
A collection type for mapping Name to [StructuredDict], using Dict as the underlying representation.
For example, this can be used to store a map of child or collection names to ComponentInputs (where ComponentInput is the type that implements [StructuredDict]).
Because the representation of this type is Dict, this type itself implements [StructuredDict].
Implementations§
Trait Implementations§
Source§impl<T: Clone + StructuredDict> Clone for StructuredDictMap<T>
impl<T: Clone + StructuredDict> Clone for StructuredDictMap<T>
Source§fn clone(&self) -> StructuredDictMap<T>
fn clone(&self) -> StructuredDictMap<T>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Debug + StructuredDict> Debug for StructuredDictMap<T>
impl<T: Debug + StructuredDict> Debug for StructuredDictMap<T>
Source§impl<T: Default + StructuredDict> Default for StructuredDictMap<T>
impl<T: Default + StructuredDict> Default for StructuredDictMap<T>
Source§fn default() -> StructuredDictMap<T>
fn default() -> StructuredDictMap<T>
Returns the “default value” for a type. Read more
Source§impl<T: StructuredDict> From<StructuredDictMap<T>> for Dict
impl<T: StructuredDict> From<StructuredDictMap<T>> for Dict
Source§fn from(m: StructuredDictMap<T>) -> Self
fn from(m: StructuredDictMap<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for StructuredDictMap<T>
impl<T> RefUnwindSafe for StructuredDictMap<T>where
T: RefUnwindSafe,
impl<T> Send for StructuredDictMap<T>where
T: Send,
impl<T> Sync for StructuredDictMap<T>where
T: Sync,
impl<T> Unpin for StructuredDictMap<T>where
T: Unpin,
impl<T> UnwindSafe for StructuredDictMap<T>where
T: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)