#[repr(u8)]
pub enum TdfType {
VarInt,
String,
Blob,
Group,
List,
Map,
Union,
VarIntList,
Pair,
Triple,
Float,
}
Expand description
Types from the Blaze packet system which are used to describe what data needs to be decoded.
Variants§
VarInt
Variable length integer value
String
Strings
Blob
List of bytes
Group
Group of tags
List
List of any of the previously mentioned
Map
Map of TdfType to TdfType
Union
Union of value where with unset type
VarIntList
List of variable length integers
Pair
Pair of two var int values
Triple
Three var int values
Float
f32 value
Trait Implementations§
source§impl PartialEq<TdfType> for TdfType
impl PartialEq<TdfType> for TdfType
impl Copy for TdfType
impl Eq for TdfType
impl StructuralEq for TdfType
impl StructuralPartialEq for TdfType
Auto Trait Implementations§
impl RefUnwindSafe for TdfType
impl Send for TdfType
impl Sync for TdfType
impl Unpin for TdfType
impl UnwindSafe for TdfType
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