Struct interoptopus::lang::c::CompositeType [−][src]
pub struct CompositeType { /* fields omitted */ }
Expand description
Used for Rust and C struct
with named fields, must be #[repr(C)]
.
Might translate to a struct or class in another language, equivalent on C-level to:
typedef struct MyComposite
{
int field_1;
float field_2;
char field_3;
// ...
} MyComposite;
Implementations
Creates a new composite with the given name and fields and no documentation.
Creates a new composite with the given name and type-level documentation.
True if this struct has no contained fields (which happens to be illegal in C99).
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for CompositeType
impl Send for CompositeType
impl Sync for CompositeType
impl Unpin for CompositeType
impl UnwindSafe for CompositeType
Blanket Implementations
Mutably borrows from an owned value. Read more