[][src]Trait zamm_yang::node_wrappers::CommonNodeTrait

pub trait CommonNodeTrait {
    pub fn id(&self) -> usize;
pub fn set_internal_name(&mut self, name: &str);
pub fn internal_name(&self) -> Option<Rc<str>>; }

All wrappers around a graph node will have these functions available.

Required methods

pub fn id(&self) -> usize[src]

The unique integer that's associated with this concept.

pub fn set_internal_name(&mut self, name: &str)[src]

Associate this concept with an internal name. The name does not need to be unique.

pub fn internal_name(&self) -> Option<Rc<str>>[src]

The internal name that's associated with this concept, if one exists.

Loading content...

Implementors

impl CommonNodeTrait for BaseNode[src]

impl<T> CommonNodeTrait for T where
    T: Deref + DerefMut,
    <T as Deref>::Target: CommonNodeTrait
[src]

Loading content...