Struct cldr_pluralrules_parser::ast::Value
source · pub struct Value(pub usize);
Expand description
An incomplete AST representation of a plural rule, representing one integer.
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.
"99"
Can be represented by the AST:
use cldr_pluralrules_parser::ast::*;
RangeListItem::Value(Value(99));
Tuple Fields
0: usize
Trait Implementations
impl StructuralPartialEq for Value
Auto Trait Implementations
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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