pub struct EnumVariantDescription {
pub docs: Vec<String>,
pub name: String,
pub discriminant: usize,
pub fields: Vec<StructFieldDescription>,
}
Fields§
§docs: Vec<String>
§name: String
§discriminant: usize
§fields: Vec<StructFieldDescription>
Implementations§
Trait Implementations§
Source§impl Clone for EnumVariantDescription
impl Clone for EnumVariantDescription
Source§fn clone(&self) -> EnumVariantDescription
fn clone(&self) -> EnumVariantDescription
Returns a copy 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 moreSource§impl Debug for EnumVariantDescription
impl Debug for EnumVariantDescription
Source§impl PartialEq for EnumVariantDescription
impl PartialEq for EnumVariantDescription
impl Eq for EnumVariantDescription
impl StructuralPartialEq for EnumVariantDescription
Auto Trait Implementations§
impl Freeze for EnumVariantDescription
impl RefUnwindSafe for EnumVariantDescription
impl Send for EnumVariantDescription
impl Sync for EnumVariantDescription
impl Unpin for EnumVariantDescription
impl UnwindSafe for EnumVariantDescription
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