pub enum FieldType {
Int32,
UInt32,
Float32,
String,
Bool,
UInt8,
Int8,
UInt16,
Int16,
}Expand description
Represents the type of a field in a DBC record
Variants§
Int32
32-bit signed integer
UInt32
32-bit unsigned integer
Float32
32-bit floating point number
String
String reference (offset into the string block)
Bool
Boolean value (represented as a 32-bit integer)
UInt8
8-bit unsigned integer
Int8
8-bit signed integer
UInt16
16-bit unsigned integer
Int16
16-bit signed integer
Implementations§
Trait Implementations§
impl Copy for FieldType
impl Eq for FieldType
impl StructuralPartialEq for FieldType
Auto Trait Implementations§
impl Freeze for FieldType
impl RefUnwindSafe for FieldType
impl Send for FieldType
impl Sync for FieldType
impl Unpin for FieldType
impl UnwindSafe for FieldType
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