Struct vino_types::maps::ComponentMap
source · [−]pub struct ComponentMap(pub HashMap<String, ComponentSignature>);
Expand description
A HashMap of component names to their signature.
Tuple Fields
0: HashMap<String, ComponentSignature>
Trait Implementations
sourceimpl Clone for ComponentMap
impl Clone for ComponentMap
sourcefn clone(&self) -> ComponentMap
fn clone(&self) -> ComponentMap
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ComponentMap
impl Debug for ComponentMap
sourceimpl Default for ComponentMap
impl Default for ComponentMap
sourcefn default() -> ComponentMap
fn default() -> ComponentMap
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ComponentMap
impl<'de> Deserialize<'de> for ComponentMap
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, ComponentSignature, RandomState>> for ComponentMap
impl From<HashMap<String, ComponentSignature, RandomState>> for ComponentMap
sourcefn from(map: HashMap<String, ComponentSignature>) -> Self
fn from(map: HashMap<String, ComponentSignature>) -> Self
Performs the conversion.
sourceimpl MapWrapper<ComponentSignature> for ComponentMap
impl MapWrapper<ComponentSignature> for ComponentMap
sourcefn get_inner_owned(self) -> HashMap<String, ComponentSignature>
fn get_inner_owned(self) -> HashMap<String, ComponentSignature>
Get the inner HashMap.
sourcefn get_inner(&self) -> &HashMap<String, ComponentSignature>
fn get_inner(&self) -> &HashMap<String, ComponentSignature>
Get a reference to the inner HashMap.
sourcefn get_inner_mut(&mut self) -> &mut HashMap<String, ComponentSignature>
fn get_inner_mut(&mut self) -> &mut HashMap<String, ComponentSignature>
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.
sourceimpl PartialEq<ComponentMap> for ComponentMap
impl PartialEq<ComponentMap> for ComponentMap
sourcefn eq(&self, other: &ComponentMap) -> bool
fn eq(&self, other: &ComponentMap) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ComponentMap) -> bool
fn ne(&self, other: &ComponentMap) -> bool
This method tests for !=
.
sourceimpl Serialize for ComponentMap
impl Serialize for ComponentMap
impl StructuralPartialEq for ComponentMap
Auto Trait Implementations
impl RefUnwindSafe for ComponentMap
impl Send for ComponentMap
impl Sync for ComponentMap
impl Unpin for ComponentMap
impl UnwindSafe for ComponentMap
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