Enum templito::tdata::TData [−][src]
pub enum TData {
Bool(bool),
String(String),
Int(isize),
UInt(usize),
Float(f64),
List(Vec<TData>),
Map(HashMap<String, TData>),
Template(TreeTemplate),
Null,
Date(NaiveDate),
Bytes(Vec<u8>),
}
Variants
Bool(bool)
Tuple Fields
0: bool
String(String)
Tuple Fields
0: String
Int(isize)
Tuple Fields
0: isize
UInt(usize)
Tuple Fields
0: usize
Float(f64)
Tuple Fields
0: f64
List(Vec<TData>)
Map(HashMap<String, TData>)
Template(TreeTemplate)
Tuple Fields
0: TreeTemplate
Null
Date(NaiveDate)
Tuple Fields
0: NaiveDate
Bytes(Vec<u8>)
Implementations
Return the usize value that will be used for lookups and indexing
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for TData
impl UnwindSafe for TData
Blanket Implementations
Mutably borrows from an owned value. Read more