pub enum HaxeObject {
Show 13 variants
Exception(HaxeValue),
Bytes(Vec<u8>),
Date(HaxeDate),
Array(Vec<HaxeValue>),
List(Vec<HaxeValue>),
StringMap(IndexMap<String, HaxeValue>),
IntMap(IndexMap<i64, HaxeValue>),
ObjectMap(IndexMap<HaxeValue, HaxeValue>),
Struct(IndexMap<String, HaxeValue>),
Class {
name: String,
fields: IndexMap<String, HaxeValue>,
},
Custom {
name: String,
contents: Vec<HaxeValue>,
},
EnumByName {
name: String,
tag: String,
params: Vec<HaxeValue>,
},
EnumByIndex {
name: String,
tag: usize,
params: Vec<HaxeValue>,
},
}
Variants§
Exception(HaxeValue)
Bytes(Vec<u8>)
Date(HaxeDate)
Array(Vec<HaxeValue>)
List(Vec<HaxeValue>)
StringMap(IndexMap<String, HaxeValue>)
IntMap(IndexMap<i64, HaxeValue>)
ObjectMap(IndexMap<HaxeValue, HaxeValue>)
Struct(IndexMap<String, HaxeValue>)
Class
Custom
EnumByName
EnumByIndex
Trait Implementations§
Source§impl Clone for HaxeObject
impl Clone for HaxeObject
Source§fn clone(&self) -> HaxeObject
fn clone(&self) -> HaxeObject
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HaxeObject
impl Debug for HaxeObject
Source§impl From<HaxeObject> for HaxeValue
impl From<HaxeObject> for HaxeValue
Source§fn from(obj: HaxeObject) -> Self
fn from(obj: HaxeObject) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HaxeObject
impl RefUnwindSafe for HaxeObject
impl Send for HaxeObject
impl Sync for HaxeObject
impl Unpin for HaxeObject
impl UnwindSafe for HaxeObject
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