pub enum TypeBody {
Record(Vec<FieldDesc>),
Sum(Vec<VariantDesc>),
Opaque,
}Variants§
Record(Vec<FieldDesc>)
Sum(Vec<VariantDesc>)
Opaque
No visible structure at all — FFI handles, abstract types. Only
legal with Strategy::Opaque.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypeBody
impl !RefUnwindSafe for TypeBody
impl !Send for TypeBody
impl !Sync for TypeBody
impl Unpin for TypeBody
impl UnsafeUnpin for TypeBody
impl !UnwindSafe for TypeBody
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