pub struct ElemDescriptor { /* private fields */ }

Implementations

The descriptor element implementation.

Create a new descriptor element.

Arguments
  • group_param - Descriptor group.
  • name_param - Descriptor name.
  • desc_type_param - Descriptor type.
  • code_param - Descriptor code.
  • value_param - Value parameter.
  • value_expr_param - Value expression.
  • propagate_param - Propogate descriptor.
Return
  • See description.

Compare this descriptor to the descriptor parameter.

Arguments
  • descriptor - Descriptor to compare.
Return
  • True if equal, otherwise false.

Get the descriptor group.

Return
  • See description.

Get the descriptor name.

Return
  • See description.

Get the type of descriptor.

Return
  • See description.

Get the descriptor code.

Return
  • See description.

Get the descriptor value.

Return
  • See description.

Get the descriptor value expression.

Return
  • See description.

Get the descriptor propagate.

Return
  • See description.

Get the descriptor list event index.

Return
  • See description.

Set the descriptor group.

Arguments
  • group_param - See description.

Set the descriptor name.

Arguments
  • name_name - See description.

Set the descriptor type.

Arguments
  • desc_type_param - See description.

Set the descriptor code.

Arguments
  • code_param - See description.

Set the descriptor value.

Arguments
  • value_param - See description.

Set the descriptor value expression.

Arguments
  • value_expr_param - See description.

Set the descriptor propagate.

Arguments
  • propagate_param - See description.

Set the descriptor list event index.

Arguments
  • list_event_index_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.