Struct vino_types::maps::StructMap
source · [−]pub struct StructMap(pub HashMap<String, StructSignature>);
Expand description
A HashMap of struct names to their signature.
Tuple Fields
0: HashMap<String, StructSignature>
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for StructMap
impl<'de> Deserialize<'de> for StructMap
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<HashMap<String, StructSignature, RandomState>> for StructMap
impl From<HashMap<String, StructSignature, RandomState>> for StructMap
sourcefn from(map: HashMap<String, StructSignature>) -> Self
fn from(map: HashMap<String, StructSignature>) -> Self
Performs the conversion.
sourceimpl MapWrapper<StructSignature> for StructMap
impl MapWrapper<StructSignature> for StructMap
sourcefn get_inner_owned(self) -> HashMap<String, StructSignature>
fn get_inner_owned(self) -> HashMap<String, StructSignature>
Get the inner HashMap.
sourcefn get_inner(&self) -> &HashMap<String, StructSignature>
fn get_inner(&self) -> &HashMap<String, StructSignature>
Get a reference to the inner HashMap.
sourcefn get_inner_mut(&mut self) -> &mut HashMap<String, StructSignature>
fn get_inner_mut(&mut self) -> &mut HashMap<String, StructSignature>
Get a mutable reference to the inner HashMap.
sourcefn into_inner(self) -> HashMap<String, T>
fn into_inner(self) -> HashMap<String, T>
Return the inner HashMap.
impl StructuralPartialEq for StructMap
Auto Trait Implementations
impl RefUnwindSafe for StructMap
impl Send for StructMap
impl Sync for StructMap
impl Unpin for StructMap
impl UnwindSafe for StructMap
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more