#[repr(C)]
pub enum BaseType {
Show 16 variants
Unknown,
None,
UInt8,
Int8,
UInt16,
Int16,
UInt32,
Int32,
UInt64,
Int64,
Half,
Float,
Double,
String,
Ptr,
Last,
}
Expand description
BaseType
is compatible with OpenImageIO’s TypeDesc::BASETYPE
This enum is used to convert from Type
into a representation that can be used with OIIO
Variants§
Unknown
Unknown image type
None
No image type
UInt8
u8
Int8
i8
UInt16
u16
Int16
i16
UInt32
u32
Int32
i32
UInt64
u64
Int64
i64
Half
f16
Float
f32
Double
f64
String
String
Ptr
Pointer
Last
End of type enum
Trait Implementations§
source§impl Ord for BaseType
impl Ord for BaseType
source§impl PartialEq<BaseType> for BaseType
impl PartialEq<BaseType> for BaseType
source§impl PartialOrd<BaseType> for BaseType
impl PartialOrd<BaseType> for BaseType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more