Enum wasmer_cli::c_gen::CType
source · [−]pub enum CType {
}Expand description
A Type in the C language.
Variants
Void
C void type.
PointerTo
Fields
is_const: boolWhether the pointer is const.
A pointer to some other type.
U8
C 8 bit unsigned integer type.
U16
C 16 bit unsigned integer type.
U32
C 32 bit unsigned integer type.
U64
C 64 bit unsigned integer type.
USize
C pointer sized unsigned integer type.
I8
C 8 bit signed integer type.
I16
C 16 bit signed integer type.
I32
C 32 bit signed integer type.
I64
C 64 bit signed integer type.
ISize
C pointer sized signed integer type.
Function
Fields
A function or function pointer.
Array
C constant array.
TypeDef(String)
A user defined type.
Implementations
Convenience function to get a const void pointer type.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CType
impl UnwindSafe for CType
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
