Trait sysml_model::Element

source ·
pub trait Element {
    // Provided methods
    fn id(&self) -> Option<&str> { ... }
    fn name(&self) -> Option<&str> { ... }
    fn short_name(&self) -> Option<&str> { ... }
    fn is_library_element(&self) -> bool { ... }
}

Provided Methods§

source

fn id(&self) -> Option<&str>

The unique element ID, if any.

source

fn name(&self) -> Option<&str>

The name of the element.

source

fn short_name(&self) -> Option<&str>

The short name of the element, if any.

source

fn is_library_element(&self) -> bool

Whether this Element is contained in the ownership tree of a library model.

Implementors§