pub enum TypeAttribute {
Display,
ClosedDomain,
AnonStruct,
HiddenEmbed,
Serialized,
ZeroSafe,
ZeroUnsafe,
HiddenFields,
Incomparable,
Constraint,
}Variants§
Display
ClosedDomain
AnonStruct
HiddenEmbed
Go struct that looks flat but hides an embed bindgen could not emit, so it cannot be soundly embedded.
Serialized
ZeroSafe
ZeroUnsafe
Go type whose zero value is documented broken, so it must come from its constructor.
HiddenFields
Incomparable
Go type that Go cannot compare for a reason its rendering hides.
Constraint
Go interface that Go allows only as a type constraint.
Trait Implementations§
Source§impl Clone for TypeAttribute
impl Clone for TypeAttribute
impl Copy for TypeAttribute
Source§impl Debug for TypeAttribute
impl Debug for TypeAttribute
impl Eq for TypeAttribute
Source§impl Hash for TypeAttribute
impl Hash for TypeAttribute
Source§impl PartialEq for TypeAttribute
impl PartialEq for TypeAttribute
impl StructuralPartialEq for TypeAttribute
Auto Trait Implementations§
impl Forget for TypeAttribute
impl Freeze for TypeAttribute
impl RefUnwindSafe for TypeAttribute
impl Send for TypeAttribute
impl Sync for TypeAttribute
impl Unpin for TypeAttribute
impl UnsafeUnpin for TypeAttribute
impl UnwindSafe for TypeAttribute
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