Struct nominals::NoFallback
source · pub struct NoFallback;
Expand description
An empty DigitCollection
that is intended to be used to indicate no
fallback should be used as a DigitCollection::Fallback
.
Trait Implementations§
source§impl Clone for NoFallback
impl Clone for NoFallback
source§fn clone(&self) -> NoFallback
fn clone(&self) -> NoFallback
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 NoFallback
impl Debug for NoFallback
source§impl Default for NoFallback
impl Default for NoFallback
source§fn default() -> NoFallback
fn default() -> NoFallback
Returns the “default value” for a type. Read more
source§impl DigitCollection for NoFallback
impl DigitCollection for NoFallback
§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 PartialEq for NoFallback
impl PartialEq for NoFallback
source§fn eq(&self, other: &NoFallback) -> bool
fn eq(&self, other: &NoFallback) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NoFallback
impl Eq for NoFallback
impl StructuralEq for NoFallback
impl StructuralPartialEq for NoFallback
Auto Trait Implementations§
impl RefUnwindSafe for NoFallback
impl Send for NoFallback
impl Sync for NoFallback
impl Unpin for NoFallback
impl UnwindSafe for NoFallback
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.