#[repr(C)]pub enum UserType {
Struct(StructType),
Enum(EnumType),
Union(UnionType),
Opaque,
}Expand description
User-defined types (structs, enums, unions)
Variants§
Struct(StructType)
Describes a struct
Enum(EnumType)
Describes an enum
Union(UnionType)
Describes a union
Opaque
Special variant for representing external types with unknown internal representation.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UserType
impl RefUnwindSafe for UserType
impl Send for UserType
impl Sync for UserType
impl Unpin for UserType
impl UnwindSafe for UserType
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