#[repr(i32)]pub enum Type {
Show 13 variants
Invalid = 0,
F32 = 1,
F64 = 17,
I32 = 2,
I64 = 18,
String = 3,
Color = 4,
Point = 5,
Vector = 6,
Normal = 7,
MatrixF32 = 8,
MatrixF64 = 24,
Reference = 9,
}Expand description
NSI data type discriminant, binary-compatible with NSIType_t from nsi.h.
Values use bit flags from the C header – they are NOT sequential.
Variants§
Invalid = 0
F32 = 1
F64 = 17
I32 = 2
I64 = 18
String = 3
Color = 4
Point = 5
Vector = 6
Normal = 7
MatrixF32 = 8
MatrixF64 = 24
Reference = 9
Called “Pointer” in the C API; renamed for clarity.
Trait Implementations§
impl Copy for Type
impl Eq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnsafeUnpin for Type
impl UnwindSafe for Type
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