pub struct SupertypeEnumDef {
pub type_name: Ident,
pub kind: String,
pub variants: Vec<VariantDef>,
}Fields§
§type_name: Ident§kind: String§variants: Vec<VariantDef>Trait Implementations§
Source§impl Clone for SupertypeEnumDef
impl Clone for SupertypeEnumDef
Source§fn clone(&self) -> SupertypeEnumDef
fn clone(&self) -> SupertypeEnumDef
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 SupertypeEnumDef
impl RefUnwindSafe for SupertypeEnumDef
impl !Send for SupertypeEnumDef
impl !Sync for SupertypeEnumDef
impl Unpin for SupertypeEnumDef
impl UnsafeUnpin for SupertypeEnumDef
impl UnwindSafe for SupertypeEnumDef
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