pub struct ElemSymbol { /* private fields */ }

Implementations

The symbol element implementation.

Create a new symbol element.

Return
  • See description.

Create a new object with a specific type.

Arguments
  • type_param - Type of symbol.
Return
  • See description.

Copy this symbol and return a new symbol.

Return
  • See description.

Get the type of symbol.

Return
  • See description.

Get the integer value.

Return
  • See description.

Get the integer value.

Return
  • See description.

Get the decimal value.

Return
  • See description.

Get the string value.

Return
  • See description.

Set the type of symbol.

Arguments
  • sym_type_param - See description.

Set the operator value.

Arguments
  • op_value_param - See description.

Set the integer value.

Arguments
  • int_value_param - See description.

Set the integer value.

Arguments
  • int_value_param - See description.

Set the decimal value.

Arguments
  • flt_value_param - See description.

Set the string value.

Arguments
  • str_value_param - See description.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

The symbol element default implementation.

Create a new symbol element.

Return
  • 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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

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.