pub enum Data {
Primitive,
Struct(DataStruct),
Enum(DataEnum),
Union(DataUnion),
}
Expand description
Data associated with type information.
Variants§
Primitive
The associated type is a primitive type.
Struct(DataStruct)
The associated type is a struct
.
Enum(DataEnum)
The associated type is an enum
.
Union(DataUnion)
The associated type is an union
.
Trait Implementations§
Source§impl Ord for Data
impl Ord for Data
Source§impl PartialOrd for Data
impl PartialOrd for Data
impl Eq for Data
impl StructuralPartialEq for Data
Auto Trait Implementations§
impl Freeze for Data
impl RefUnwindSafe for Data
impl Send for Data
impl Sync for Data
impl Unpin for Data
impl UnwindSafe for Data
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