Struct mml::core::item::state::ItemState
[−]
[src]
pub struct ItemState<'a> { /* fields omitted */ }
The structure ItemState
describes an abstract element with a collections of methodes
and implementations.
Methods
impl<'a> ItemState<'a>
[src]
fn is_none(&self) -> bool
fn is_association(&self, rhs: &ItemState<'a>) -> bool
fn is_dependency(&self, rhs: &ItemState<'a>) -> bool
fn is_aggregation(&self, rhs: &ItemState<'a>) -> bool
fn is_composition(&self, rhs: &ItemState<'a>) -> bool
fn is_realization(&self, rhs: &ItemState<'a>) -> bool
fn is_relation(&self, rhs: &ItemState<'a>) -> bool
fn as_name(&self) -> Option<&InternedString>
fn as_arrow(&self, rhs: &ItemState<'a>) -> Relation
Trait Implementations
impl<'a> Default for ItemState<'a>
[src]
impl<'a> Debug for ItemState<'a>
[src]
impl<'a> Clone for ItemState<'a>
[src]
fn clone(&self) -> ItemState<'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> Eq for ItemState<'a>
[src]
impl<'a> PartialEq for ItemState<'a>
[src]
fn eq(&self, __arg_0: &ItemState<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ItemState<'a>) -> bool
This method tests for !=
.
impl<'a> From<(Abstract<'a>, Vec<&'a P<Item>>)> for ItemState<'a>
[src]
fn from((node, properties): (Abstract<'a>, Vec<&'a P<Item>>)) -> ItemState<'a>
Performs the conversion.