Enum cvar::Node [] [src]

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

Node interface.

Variants

Prop(&'a IProperty)List(&'a IList)Action(&'a IAction)

Trait Implementations

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

fn from(prop: &'a IProperty) -> Node<'a>

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]

fn from(prop: &'s Property<N, D, T, V, F>) -> Node<'s>

Performs the conversion.

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

fn clone(&self) -> Node<'a>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

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

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

fn name(&self) -> &str

Returns the node name.

fn description(&self) -> &str

Returns the node description.

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

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

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

fn from(list: &'a IList) -> Node<'a>

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]

fn from(val: &'s List<'a, N, D>) -> Node<'s>

Performs the conversion.

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

fn from(act: &'a IAction) -> Node<'a>

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]

fn from(val: &'s Action<N, D, F>) -> Node<'s>

Performs the conversion.