Struct vino_types::StructSignature
source · [−]Expand description
Signatures of struct-like type definitions.
Fields
name: String
The name of the struct.
fields: TypeMap
The fields in this struct.
Trait Implementations
sourceimpl Clone for StructSignature
impl Clone for StructSignature
sourcefn clone(&self) -> StructSignature
fn clone(&self) -> StructSignature
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 StructSignature
impl Debug for StructSignature
sourceimpl Default for StructSignature
impl Default for StructSignature
sourcefn default() -> StructSignature
fn default() -> StructSignature
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for StructSignature
impl<'de> Deserialize<'de> for StructSignature
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 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.
sourceimpl PartialEq<StructSignature> for StructSignature
impl PartialEq<StructSignature> for StructSignature
sourcefn eq(&self, other: &StructSignature) -> bool
fn eq(&self, other: &StructSignature) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StructSignature) -> bool
fn ne(&self, other: &StructSignature) -> bool
This method tests for !=
.
sourceimpl Serialize for StructSignature
impl Serialize for StructSignature
impl StructuralPartialEq for StructSignature
Auto Trait Implementations
impl RefUnwindSafe for StructSignature
impl Send for StructSignature
impl Sync for StructSignature
impl Unpin for StructSignature
impl UnwindSafe for StructSignature
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)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more