Struct cldr_pluralrules_parser::ast::Operand
source · pub struct Operand(pub char);
Expand description
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_plural_rule function.
"i"
Can be represented by the AST:
use cldr_pluralrules_parser::ast::Operand;
Operand('i');
Tuple Fields
0: char
Trait Implementations
impl StructuralPartialEq for Operand
Auto Trait Implementations
impl RefUnwindSafe for Operand
impl Send for Operand
impl Sync for Operand
impl Unpin for Operand
impl UnwindSafe for Operand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more