pub enum TypeContents {
NotSpecified,
Enum(Vec<EnumVariantDescription>),
Struct(Vec<StructFieldDescription>),
ExplicitEnum(Vec<ExplicitEnumVariantDescription>),
}
Variants§
NotSpecified
Enum(Vec<EnumVariantDescription>)
Struct(Vec<StructFieldDescription>)
ExplicitEnum(Vec<ExplicitEnumVariantDescription>)
Implementations§
Source§impl TypeContents
impl TypeContents
pub fn is_specified(&self) -> bool
Trait Implementations§
Source§impl Clone for TypeContents
impl Clone for TypeContents
Source§fn clone(&self) -> TypeContents
fn clone(&self) -> TypeContents
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 moreAuto Trait Implementations§
impl Freeze for TypeContents
impl RefUnwindSafe for TypeContents
impl Send for TypeContents
impl Sync for TypeContents
impl Unpin for TypeContents
impl UnwindSafe for TypeContents
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