Trait bpxe_bpmn_schema::DefinitionsType [−][src]
Access to definitions
Required methods
fn id(&self) -> &Option<Id>
[src]
Get value of attribute id
fn name(&self) -> &Option<String>
[src]
Get value of attribute name
fn target_namespace(&self) -> &URI
[src]
Get value of attribute targetNamespace
fn expression_language(&self) -> &Option<URI>
[src]
Get value of attribute expressionLanguage
fn type_language(&self) -> &Option<URI>
[src]
Get value of attribute typeLanguage
fn exporter(&self) -> &Option<String>
[src]
Get value of attribute exporter
fn exporter_version(&self) -> &Option<String>
[src]
Get value of attribute exporterVersion
fn imports(&self) -> &Vec<Import>
[src]
Get value of import
child
fn extensions(&self) -> &Vec<Extension>
[src]
Get value of extension
child
fn root_elements(&self) -> &Vec<RootElement>
[src]
Get value of rootElement
child
fn relationships(&self) -> &Vec<Relationship>
[src]
Get value of relationship
child
Implementations
impl dyn DefinitionsType
[src]
pub fn is<__T: DefinitionsType>(&self) -> bool
[src]
Returns true if the trait object wraps an object of type __T
.
pub fn downcast<__T: DefinitionsType>(
self: Box<Self>
) -> Result<Box<__T>, Box<Self>>
[src]
self: Box<Self>
) -> Result<Box<__T>, Box<Self>>
Returns a boxed object from a boxed trait object if the underlying object is of type
__T
. Returns the original boxed trait if it isn't.
pub fn downcast_rc<__T: DefinitionsType>(
self: Rc<Self>
) -> Result<Rc<__T>, Rc<Self>>
[src]
self: Rc<Self>
) -> Result<Rc<__T>, Rc<Self>>
Returns an Rc
-ed object from an Rc
-ed trait object if the underlying object is of
type __T
. Returns the original Rc
-ed trait if it isn't.
pub fn downcast_ref<__T: DefinitionsType>(&self) -> Option<&__T>
[src]
Returns a reference to the object within the trait object if it is of type __T
, or
None
if it isn't.
pub fn downcast_mut<__T: DefinitionsType>(&mut self) -> Option<&mut __T>
[src]
Returns a mutable reference to the object within the trait object if it is of type
__T
, or None
if it isn't.