Struct nominals::Devanagari
source · pub struct Devanagari;
Expand description
Devanagari numeric digits.
Devanagari
# | Devanagari |
---|---|
0 | ० |
1 | १ |
2 | २ |
3 | ३ |
4 | ४ |
… | … |
9 | ९ |
10 | १० |
11 | ११ |
12 | १२ |
… | … |
99 | ९९ |
100 | १०० |
101 | १०१ |
102 | १०२ |
Trait Implementations§
source§impl Clone for Devanagari
impl Clone for Devanagari
source§fn clone(&self) -> Devanagari
fn clone(&self) -> Devanagari
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Devanagari
impl Debug for Devanagari
source§impl Default for Devanagari
impl Default for Devanagari
source§fn default() -> Devanagari
fn default() -> Devanagari
Returns the “default value” for a type. Read more
source§impl DigitCollection for Devanagari
impl DigitCollection for Devanagari
§type Fallback = NoFallback
type Fallback = NoFallback
The digit collection that should be used after this collection’s range
is exhausted.
source§fn has_zero_digit(&self) -> bool
fn has_zero_digit(&self) -> bool
Returns true if this collection has a symbol representing
0
at index
0.source§fn zero_based(&self) -> bool
fn zero_based(&self) -> bool
Returns true if this collection should start counting at 1 instead of 0.
This function is only called if
has_zero_digit()
returns false.source§impl Hash for Devanagari
impl Hash for Devanagari
source§impl PartialEq for Devanagari
impl PartialEq for Devanagari
source§fn eq(&self, other: &Devanagari) -> bool
fn eq(&self, other: &Devanagari) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Devanagari
impl Eq for Devanagari
impl StructuralEq for Devanagari
impl StructuralPartialEq for Devanagari
Auto Trait Implementations§
impl RefUnwindSafe for Devanagari
impl Send for Devanagari
impl Sync for Devanagari
impl Unpin for Devanagari
impl UnwindSafe for Devanagari
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T, D> NominalSystem<T> for D
impl<T, D> NominalSystem<T> for D
source§fn try_format_nominal(&self, nominal: T) -> Result<NominalString, Error<T>>
fn try_format_nominal(&self, nominal: T) -> Result<NominalString, Error<T>>
Tries to format
nominal
using this system. Read moresource§fn format_nominal(&self, nominal: T) -> NominalString
fn format_nominal(&self, nominal: T) -> NominalString
Formats
nominal
using this system.