[][src]Struct sixtyfps_interpreter::ModelPtr

pub struct ModelPtr(pub Rc<dyn Model<Data = Value>>);

A Pointer to a model

Methods from Deref<Target = Rc<dyn Model<Data = Value>>>

Trait Implementations

impl Clone for ModelPtr[src]

impl Debug for ModelPtr[src]

impl Deref for ModelPtr[src]

type Target = Rc<dyn Model<Data = Value>>

The resulting type after dereferencing.

impl From<Rc<dyn Model<Data = Value> + 'static>> for ModelPtr[src]

impl PartialEq<ModelPtr> for ModelPtr[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.