Enum icu::plurals::rules::ast::Operand [−][src]
pub enum Operand { N, I, V, W, F, T, C, E, }
An incomplete AST representation of a plural rule. Comprises a char
.
Examples
All AST nodes can be built explicitly, as seen in the example. However, due to its complexity, it is preferred to build the
AST using the parse()
function.
"i"
Can be represented by the AST:
use icu::plurals::rules::ast::Operand; Operand::I;
Variants
Absolute value of input
An integer value of input with the fraction part truncated off
Number of visible fraction digits with trailing zeros
Number of visible fraction digits without trailing zeros
Visible fraction digits with trailing zeros
Visible fraction digits without trailing zeros
Compact decimal exponent value: exponent of the power of 10 used in compact decimal formatting
Currently, synonym for ‘c’. however, may be redefined in the future
Trait Implementations
impl StructuralPartialEq for Operand
[src]
impl StructuralPartialEq for Operand
[src]Auto Trait Implementations
impl RefUnwindSafe for Operand
impl RefUnwindSafe for Operand
impl UnwindSafe for Operand
impl UnwindSafe for Operand