Enum interoptopus::lang::c::PrimitiveValue [−][src]
pub enum PrimitiveValue {
Bool(bool),
U8(u8),
U16(u16),
U32(u32),
U64(u64),
I8(i8),
I16(i16),
I32(i32),
I64(i64),
F32(f32),
F64(f64),
}
Expand description
A primitive value expressible on C-level.
Variants
Bool(bool)
Tuple Fields of Bool
0: bool
U8(u8)
Tuple Fields of U8
0: u8
U16(u16)
Tuple Fields of U16
0: u16
U32(u32)
Tuple Fields of U32
0: u32
U64(u64)
Tuple Fields of U64
0: u64
I8(i8)
Tuple Fields of I8
0: i8
I16(i16)
Tuple Fields of I16
0: i16
I32(i32)
Tuple Fields of I32
0: i32
I64(i64)
Tuple Fields of I64
0: i64
F32(f32)
Tuple Fields of F32
0: f32
F64(f64)
Tuple Fields of F64
0: f64
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 PrimitiveValue
impl Send for PrimitiveValue
impl Sync for PrimitiveValue
impl Unpin for PrimitiveValue
impl UnwindSafe for PrimitiveValue
Blanket Implementations
Mutably borrows from an owned value. Read more