Enum cdragon_prop::data::BinType
source · #[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§
source§impl PartialEq for BinType
impl PartialEq for BinType
source§impl TryFrom<u8> for BinType
impl TryFrom<u8> for BinType
§type Error = TryFromPrimitiveError<BinType>
type Error = TryFromPrimitiveError<BinType>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for BinType
impl TryFromPrimitive for BinType
impl Copy for BinType
impl Eq for BinType
impl StructuralEq for BinType
impl StructuralPartialEq for BinType
Auto Trait Implementations§
impl RefUnwindSafe for BinType
impl Send for BinType
impl Sync for BinType
impl Unpin 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