pub struct ElemPreferences { /* private fields */ }

Implementations

Preferences definition implementation.

Create and return a new preferences element.

Arguments
  • calc_manager_param - Calculator manager element.
  • locale_str_param - Locale string.
  • cross_rate_code_param - Cross rate code.
  • default_encoding_param - Default encoding.
  • group_param - Group name.
  • fiscal_year_start_param - Fiscal year start.
  • decimal_digits_param - Decimal digits.
  • target_param - Target value.
  • combine_principal_param - Combine principal.
  • compress_descriptor_param - Compress descriptors.
  • statistic_events_param - Statistic events.
  • list_parameter_param - List parameter.
  • list_descriptor_param - List descriptor.
  • copy_propagate_param - Copy propogate.
  • elem_level_param - Element level
  • updating_json - Updating from Json.
Return
  • See description.

Clear all values and lists.

Copy this preferences element and return a new preferences element.

Arguments
  • updating_json - Updating from Json.
Return
  • See description.

Copy this preferences element and return a new preferences element.

Arguments
  • calc_manager - Calculator manager element.
  • elem_level_param - Element level
  • updating_json - Updating from Json.
Return
  • See description.

Get the locale.

Return
  • ISO language code (ISO 639)_ISO country code (ISO 3166).

Get the cross rate international currency code (e.g., USD, GBP, JPY, AUD, EUR, other currency code).

Return
  • See description.

Get the default encoding (us-ascii, iso-8859-1, utf-8, utf-16be, utf-16le, utf-16, other encoding).

Return
  • See description.

Get the template group name.

Return
  • See description.

Get the start of fiscal year in MMDD format.

Return
  • See description.

Get the number of significant decimal digits.

Return
  • See description.

Get the target value.

Return
  • See description.

Get the combine principal change events that are identical except their values and ListDescriptor objects (1=set,0=reset,-1=not set).

Return
  • See description.

Get the after balancing and during compression, merge ListDescriptor objects (1=set,0=reset,-1=not set).

Return
  • See description.

Get the eliminate statistic events from the compressed event list (1=set,0=reset,-1=not set).

Return
  • See description.

Get the parameter list.

Return
  • See description.

Get the mut parameter list.

Return
  • See description.

Get the descriptor list.

Return
  • See description.

Get the mut descriptor list.

Return
  • See description.

Set the locale name.

Arguments
  • locale_str_param - See description.

Set the cross rate international currency code (e.g., USD, GBP, JPY, AUD, EUR, other currency code).

Arguments
  • cross_rate_code_param - See description.

Set the default encoding (us-ascii, iso-8859-1, utf-8, utf-16be, utf-16le, utf-16, other encoding).

Arguments
  • default_encoding_param - See description.

Set the template group name.

Arguments
  • group_param - See description.

Set the template group name result.

Arguments
  • group_param - See description.

Set the start of fiscal year in MMDD format.

Arguments
  • fiscal_year_start_param - See description.

Set the number of significant decimal digits.

Arguments
  • decimal_digits_param - See description.

Set the target value.

Arguments
  • target_param - See description.

Set the combine principal change events that are identical except their values and ListDescriptor objects (1=set,0=reset,-1=not set).

Arguments
  • combine_principal_param - See description.

Set the After balancing and during compression, merge ListDescriptor objects (1=set,0=reset,-1=not set).

Arguments
  • compress_descriptor_param - See description.

Set the Eliminate statistic events from the compressed event list (1=set,0=reset,-1=not set).

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