pub struct VariantFieldInfo {
pub name: String,
pub field_type: Type,
}Expand description
Information about a variant field
Fields§
§name: String§field_type: TypeTrait Implementations§
Source§impl Clone for VariantFieldInfo
impl Clone for VariantFieldInfo
Source§fn clone(&self) -> VariantFieldInfo
fn clone(&self) -> VariantFieldInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VariantFieldInfo
impl Debug for VariantFieldInfo
impl Eq for VariantFieldInfo
Source§impl PartialEq for VariantFieldInfo
impl PartialEq for VariantFieldInfo
Source§fn eq(&self, other: &VariantFieldInfo) -> bool
fn eq(&self, other: &VariantFieldInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VariantFieldInfo
Auto Trait Implementations§
impl Freeze for VariantFieldInfo
impl RefUnwindSafe for VariantFieldInfo
impl Send for VariantFieldInfo
impl Sync for VariantFieldInfo
impl Unpin for VariantFieldInfo
impl UnsafeUnpin for VariantFieldInfo
impl UnwindSafe for VariantFieldInfo
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