[][src]Trait cvar::INode

pub trait INode {
    fn name(&self) -> &str;
fn description(&self) -> &str;
fn as_node_mut(&mut self) -> NodeMut;
fn as_inode_mut(&mut self) -> &mut dyn INode; }

Node interface.

Defines the basic requirements of a node such as having a name and a description.

Required methods

fn name(&self) -> &str

Returns the node name.

fn description(&self) -> &str

Returns the node description.

fn as_node_mut(&mut self) -> NodeMut

Downcasts to a more specific node interface.

fn as_inode_mut(&mut self) -> &mut dyn INode

Upcasts back to an INode trait object.

Loading content...

Implementors

impl<'_> INode for NodeMut<'_>[src]

impl<'a, F: FnMut(&[&str], &mut dyn IConsole)> INode for Action<'a, F>[src]

impl<'a, T> INode for ClampedProp<'a, T> where
    T: FromStr + ToString + Clone + PartialEq + PartialOrd,
    T::Err: StdError + Send + Sync + 'static, 
[src]

impl<'a, T> INode for Property<'a, T> where
    T: FromStr + ToString + Clone + PartialEq,
    T::Err: StdError + Send + Sync + 'static, 
[src]

impl<'a, T: ToString + PartialEq> INode for ReadOnlyProp<'a, T>[src]

impl<'a, V: IVisit> INode for List<'a, V>[src]

impl<T> INode for OwnedProp<T> where
    T: FromStr + ToString + Clone + PartialEq,
    T::Err: StdError + Send + Sync + 'static, 
[src]

Loading content...