Struct dmntk_model::model::FunctionDefinition [−][src]
pub struct FunctionDefinition { /* fields omitted */ }
Expand description
FunctionItem defines the signature of a function: the parameters and the output type of the function.
Implementations
impl FunctionDefinition
[src]
impl FunctionDefinition
[src]pub fn formal_parameters(&self) -> &Vec<InformationItem>
[src]
pub fn formal_parameters(&self) -> &Vec<InformationItem>
[src]Returns reference to container of InformationItem of this FunctionDefinition.
pub fn body(&self) -> &Option<ExpressionInstance>
[src]
pub fn body(&self) -> &Option<ExpressionInstance>
[src]Returns reference to Expression that is the body in this FunctionDefinition.
pub fn kind(&self) -> &FunctionKind
[src]
pub fn kind(&self) -> &FunctionKind
[src]Returns the type of this FunctionDefinition.
Trait Implementations
impl Clone for FunctionDefinition
[src]
impl Clone for FunctionDefinition
[src]fn clone(&self) -> FunctionDefinition
[src]
fn clone(&self) -> FunctionDefinition
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for FunctionDefinition
[src]
impl Debug for FunctionDefinition
[src]impl DmnElement for FunctionDefinition
[src]
impl DmnElement for FunctionDefinition
[src]fn id(&self) -> &Option<String>
[src]
fn id(&self) -> &Option<String>
[src]Returns reference to optional identifier for this FunctionDefinition.
fn description(&self) -> &Option<String>
[src]
fn description(&self) -> &Option<String>
[src]Returns reference to optional description of this FunctionDefinition.
fn label(&self) -> &Option<String>
[src]
fn label(&self) -> &Option<String>
[src]Returns reference to optional alternative short description of this FunctionDefinition.
fn extension_elements(&self) -> &Option<ExtensionElement>
[src]
fn extension_elements(&self) -> &Option<ExtensionElement>
[src]Returns reference to attached additional elements to any FunctionDefinition.
fn extension_attributes(&self) -> &Vec<ExtensionAttribute>
[src]
fn extension_attributes(&self) -> &Vec<ExtensionAttribute>
[src]Returns reference to attached named extended attributes and model associations to any FunctionDefinition.
impl Expression for FunctionDefinition
[src]
impl Expression for FunctionDefinition
[src]fn type_ref(&self) -> &Option<String>
[src]
fn type_ref(&self) -> &Option<String>
[src]Optional namespace-prefixed name of the base type of this Expression.
impl PartialEq<FunctionDefinition> for FunctionDefinition
[src]
impl PartialEq<FunctionDefinition> for FunctionDefinition
[src]fn eq(&self, other: &FunctionDefinition) -> bool
[src]
fn eq(&self, other: &FunctionDefinition) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &FunctionDefinition) -> bool
[src]
fn ne(&self, other: &FunctionDefinition) -> bool
[src]This method tests for !=
.
impl StructuralPartialEq for FunctionDefinition
[src]
Auto Trait Implementations
impl RefUnwindSafe for FunctionDefinition
impl Send for FunctionDefinition
impl Sync for FunctionDefinition
impl Unpin for FunctionDefinition
impl UnwindSafe for FunctionDefinition
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more