Trait adapton::reflect::Reflect [] [src]

pub trait Reflect<T>: Debug {
    fn reflect(&self) -> T;
}

This trait consists of the ability for a reference to Self to produce a T. Conceptually, that value of type T is the "reflection" of Self. A large set of types in engine implement this trait for a particular type in this module, which represents its reflection. The documentation of this module makes this correspondance clear.

Required Methods

Implementations on Foreign Types

impl Reflect<Vec<Succ>> for Vec<Succ>
[src]

[src]

impl Reflect<Vec<Succ>> for Vec<(Succ, Option<Rc<Box<DCGDep>>>)>
[src]

[src]

impl Reflect<Vec<Pred>> for Vec<Pred>
[src]

[src]

impl Reflect<Vec<Loc>> for Vec<Rc<Loc>>
[src]

[src]

impl<S, T: Reflect<S> + Debug> Reflect<Option<S>> for Option<T>
[src]

[src]

impl<'a, S, T: Reflect<S> + Debug> Reflect<S> for &'a Rc<T>
[src]

[src]

impl<'a, S, T: Reflect<S> + Debug> Reflect<S> for Rc<T>
[src]

[src]

Implementors