Enum cvar::Node [] [src]

pub enum Node<'a> {
    Prop(&'a IProperty),
    List(&'a IList),
    Action(&'a IAction),
}

Node interface.

Variants

Trait Implementations

impl<'a> From<&'a IProperty> for Node<'a>
[src]

Performs the conversion.

impl<'s, N, D, T, V, F> From<&'s Property<N, D, T, V, F>> for Node<'s> where
    N: Borrow<str>,
    D: Borrow<str>,
    T: Value,
    V: Variable<T>,
    F: OnChange<T>, 
[src]

Performs the conversion.

impl<'a> Copy for Node<'a>
[src]

impl<'a> Clone for Node<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> INode for Node<'a>
[src]

Returns the node name.

Returns the node description.

impl<'a> Debug for Node<'a>
[src]

Formats the value using the given formatter.

impl<'a> From<&'a IList> for Node<'a>
[src]

Performs the conversion.

impl<'s, 'a, N, D> From<&'s List<'a, N, D>> for Node<'s> where
    N: Borrow<str>,
    D: Borrow<str>, 
[src]

Performs the conversion.

impl<'a> From<&'a IAction> for Node<'a>
[src]

Performs the conversion.

impl<'s, N, D, F> From<&'s Action<N, D, F>> for Node<'s> where
    N: Borrow<str>,
    D: Borrow<str>,
    F: OnInvoke
[src]

Performs the conversion.