[−][src]Struct aeon::object::AeonObject
Fields
macros: HashMap<String, Macro>
properties: HashMap<String, AeonProperty>
is_empty: bool
Implementations
impl AeonObject
[src]
pub fn new() -> AeonObject
[src]
pub fn add_property(&mut self, value: AeonProperty)
[src]
pub fn add_macro(&mut self, mac: Macro)
[src]
pub fn apply_macro(&mut self, name: String, params: Vec<AeonValue>) -> AeonValue
[src]
pub fn try_get_macro(&self, map: &HashMap<String, AeonValue>) -> Option<&Macro>
[src]
pub fn copy_macros_to(&self, other: &mut AeonObject)
[src]
Trait Implementations
impl AeonObjectConvert for AeonObject
[src]
fn get(&self, prop: &str) -> Option<AeonValue>
[src]
fn get_path(&self, path: &str) -> Option<AeonValue>
[src]
fn remove(&mut self, prop: &str) -> Option<AeonValue>
[src]
fn remove_path(&mut self, path: &str) -> Option<AeonValue>
[src]
impl AeonObjectConvert for AeonObject
[src]
fn get(&self, prop: &str) -> AeonValue
[src]
fn get_path(&self, path: &str) -> AeonValue
[src]
fn remove(&mut self, prop: &str) -> AeonValue
[src]
fn remove_path(&mut self, path: &str) -> AeonValue
[src]
impl Debug for AeonObject
[src]
Auto Trait Implementations
impl RefUnwindSafe for AeonObject
impl Send for AeonObject
impl Sync for AeonObject
impl Unpin for AeonObject
impl UnwindSafe for AeonObject
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,