pub struct NamedVariant {
pub name: String,
pub named: bool,
pub fields: Vec<Field>,
}Fields§
§name: String§named: bool§fields: Vec<Field>Trait Implementations§
Source§impl Clone for NamedVariant
impl Clone for NamedVariant
Source§fn clone(&self) -> NamedVariant
fn clone(&self) -> NamedVariant
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NamedVariant
impl RefUnwindSafe for NamedVariant
impl !Send for NamedVariant
impl !Sync for NamedVariant
impl Unpin for NamedVariant
impl UnwindSafe for NamedVariant
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