[][src]Struct mtots::Table

pub struct Table { /* fields omitted */ }

The priamry user defined object instances Essentially a class + bag of fields

Implementations

impl Table[src]

pub fn new(
    cls: Rc<Class>,
    map: HashMap<RcStr, RefCell<Value>, RandomState>
) -> Table
[src]

pub fn cls(&self) -> &Rc<Class>[src]

pub fn map(&self) -> &HashMap<RcStr, RefCell<Value>, RandomState>[src]

pub fn set(&self, key: &RcStr, value: Value) -> Result<(), Error>[src]

Trait Implementations

impl Debug for Table[src]

impl From<Table> for Value[src]

impl PartialEq<Table> for Table[src]

impl PartialOrd<Table> for Table[src]

Auto Trait Implementations

impl !RefUnwindSafe for Table

impl !Send for Table

impl !Sync for Table

impl Unpin for Table

impl !UnwindSafe for Table

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> Same<T> for T

type Output = T

Should always be Self

impl<T> SetParameter for T

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,