[][src]Struct aeon::object::AeonObject

pub struct AeonObject {
    pub macros: HashMap<String, Macro>,
    pub properties: HashMap<String, AeonProperty>,
    pub is_empty: bool,
}

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]

impl AeonObjectConvert for AeonObject[src]

impl Debug for AeonObject[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.