Struct vino_types::maps::TypeMap
source · [−]pub struct TypeMap(_);
Expand description
A HashMap of type names to their signature.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for TypeMap
impl<'de> Deserialize<'de> for TypeMap
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, TypeSignature, RandomState>> for TypeMap
impl From<HashMap<String, TypeSignature, RandomState>> for TypeMap
sourcefn from(map: HashMap<String, TypeSignature>) -> Self
fn from(map: HashMap<String, TypeSignature>) -> Self
Performs the conversion.
sourceimpl FromIterator<(String, TypeSignature)> for TypeMap
impl FromIterator<(String, TypeSignature)> for TypeMap
sourcefn from_iter<T: IntoIterator<Item = (String, TypeSignature)>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = (String, TypeSignature)>>(iter: T) -> Self
Creates a value from an iterator. Read more
sourceimpl MapWrapper<TypeSignature> for TypeMap
impl MapWrapper<TypeSignature> for TypeMap
sourcefn get_inner_owned(self) -> HashMap<String, TypeSignature>
fn get_inner_owned(self) -> HashMap<String, TypeSignature>
Get the inner HashMap.
sourcefn get_inner(&self) -> &HashMap<String, TypeSignature>
fn get_inner(&self) -> &HashMap<String, TypeSignature>
Get a reference to the inner HashMap.
sourcefn get_inner_mut(&mut self) -> &mut HashMap<String, TypeSignature>
fn get_inner_mut(&mut self) -> &mut HashMap<String, TypeSignature>
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 TypeMap
Auto Trait Implementations
impl RefUnwindSafe for TypeMap
impl Send for TypeMap
impl Sync for TypeMap
impl Unpin for TypeMap
impl UnwindSafe for TypeMap
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