pub enum TypeDefinitionContents {
Regular(RegularTypeDefinition),
Enum(EnumTypeDefinition),
Bundle(BundleTypeDefinition),
}
Expand description
Type definition inner contents.
Variants§
Regular(RegularTypeDefinition)
Regular type definition.
Enum(EnumTypeDefinition)
An enumeration type definition.
Bundle(BundleTypeDefinition)
Bundle type definition.
Trait Implementations§
Source§impl Clone for TypeDefinitionContents
impl Clone for TypeDefinitionContents
Source§fn clone(&self) -> TypeDefinitionContents
fn clone(&self) -> TypeDefinitionContents
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 moreSource§impl Debug for TypeDefinitionContents
impl Debug for TypeDefinitionContents
Source§impl PartialEq for TypeDefinitionContents
impl PartialEq for TypeDefinitionContents
impl StructuralPartialEq for TypeDefinitionContents
Auto Trait Implementations§
impl Freeze for TypeDefinitionContents
impl RefUnwindSafe for TypeDefinitionContents
impl !Send for TypeDefinitionContents
impl !Sync for TypeDefinitionContents
impl Unpin for TypeDefinitionContents
impl UnwindSafe for TypeDefinitionContents
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