pub enum TdfType {
VarInt(VarInt),
String(String),
Blob(Vec<u8>),
Group {
start2: bool,
values: Vec<Tdf>,
},
List {
value_type: u8,
values: Vec<TdfType>,
},
Map {
key_type: u8,
value_type: u8,
value: LinkedHashMap<TdfType, TdfType>,
},
Optional {
value_type: u8,
value: Option<Box<Tdf>>,
},
VarIntList(Vec<VarInt>),
Pair(VarInt, VarInt),
Triple(VarInt, VarInt, VarInt),
Float(f32),
}
Variants
VarInt(VarInt)
String(String)
Blob(Vec<u8>)
Group
List
Map
Optional
VarIntList(Vec<VarInt>)
Pair(VarInt, VarInt)
Triple(VarInt, VarInt, VarInt)
Float(f32)
Trait Implementations
sourceimpl PartialEq<TdfType> for TdfType
impl PartialEq<TdfType> for TdfType
sourceimpl TypedReadable for TdfType
impl TypedReadable for TdfType
impl Eq 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more