#[repr(u8)]pub enum TypeDefinitionData<'a> {
Struct(StructDefinition<'a>),
}Expand description
Contains data specific to a group of types that illicit the same characteristics.
Variants§
Struct(StructDefinition<'a>)
Struct types (i.e. record, tuple, or unit structs)
Implementations§
Trait Implementations§
Source§impl<'a> Debug for TypeDefinitionData<'a>
impl<'a> Debug for TypeDefinitionData<'a>
Source§impl<'a> PartialEq for TypeDefinitionData<'a>
impl<'a> PartialEq for TypeDefinitionData<'a>
impl<'a> Eq for TypeDefinitionData<'a>
impl<'a> StructuralPartialEq for TypeDefinitionData<'a>
Auto Trait Implementations§
impl<'a> Freeze for TypeDefinitionData<'a>
impl<'a> RefUnwindSafe for TypeDefinitionData<'a>
impl<'a> !Send for TypeDefinitionData<'a>
impl<'a> !Sync for TypeDefinitionData<'a>
impl<'a> Unpin for TypeDefinitionData<'a>
impl<'a> UnwindSafe for TypeDefinitionData<'a>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more