#[repr(u8)]pub enum BinType {
Show 27 variants
None = 0,
Bool = 1,
S8 = 2,
U8 = 3,
S16 = 4,
U16 = 5,
S32 = 6,
U32 = 7,
S64 = 8,
U64 = 9,
Float = 10,
Vec2 = 11,
Vec3 = 12,
Vec4 = 13,
Matrix = 14,
Color = 15,
String = 16,
Hash = 17,
Path = 18,
List = 19,
List2 = 20,
Struct = 21,
Embed = 22,
Link = 23,
Option = 24,
Map = 25,
Flag = 26,
}Expand description
Basic bin types
Variant values match the binary values used in PROP files.
Variants§
None = 0
Bool = 1
S8 = 2
U8 = 3
S16 = 4
U16 = 5
S32 = 6
U32 = 7
S64 = 8
U64 = 9
Float = 10
Vec2 = 11
Vec3 = 12
Vec4 = 13
Matrix = 14
Color = 15
String = 16
Hash = 17
Path = 18
List = 19
List2 = 20
Struct = 21
Embed = 22
Link = 23
Option = 24
Map = 25
Flag = 26
Implementations§
Trait Implementations§
impl Copy for BinType
impl Eq for BinType
impl StructuralPartialEq for BinType
Auto Trait Implementations§
impl Freeze for BinType
impl RefUnwindSafe for BinType
impl Send for BinType
impl Sync for BinType
impl Unpin for BinType
impl UnsafeUnpin for BinType
impl UnwindSafe for BinType
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