[][src]Trait zamm_yin::node_wrappers::CommonNodeTrait

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

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_str(&mut self, name: &str)[src]

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

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

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

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

👎 Deprecated since 0.1.1:

Please use set_internal_name_str instead.

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

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

👎 Deprecated since 0.1.1:

Please use internal_name_str instead.

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: Wrapper,
    T::BaseType: CommonNodeTrait
[src]

Loading content...