pub struct ElemParameter { /* private fields */ }

Implementations

The parameter element implementation.

Create a new parameter element.

Arguments
  • name_param - Parameter name.
  • label_param - Parameter label.
  • desc_param - Parameter description.
Return
  • See description.

Compare this parameter to the parameter parameter.

Arguments
  • parameter - Parameter to compare.
Return
  • True if equal, otherwise false.

Get the parameter name.

Return
  • See description.

Get the parameter label.

Return
  • See description.

Get the parameter description.

Return
  • See description.

Get the parameter type.

Return
  • See description.

Get the parameter integer.

Return
  • See description.

Get the parameter integer.

Return
  • See description.

Get the parameter decimal.

Return
  • See description.

Get the parameter string.

Return
  • See description.

Set the parameter name.

Arguments
  • name_param - See description.

Set the parameter label.

Arguments
  • label_param - See description.

Set the parameter description.

Arguments
  • desc_param - See description.

Set the parameter type.

Arguments
  • type_param - See description.

Set the parameter integer.

Arguments
  • integer_param - See description.

Set the parameter integer.

Arguments
  • integer_param - See description.

Set the parameter decimal.

Arguments
  • float_param - See description.

Set the parameter string.

Arguments
  • string_param - See description.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.