pub struct DefaultGenerationType(_);
Expand description
The default generation type.
Methods from Deref<Target = NonZeroUsize>§
pub const MIN: NonZeroUsize = Self::new(1).unwrap()
pub const MAX: NonZeroUsize = Self::new(usize::MAX).unwrap()
Trait Implementations§
source§impl AddAssign<DefaultGenerationType> for DefaultGenerationType
impl AddAssign<DefaultGenerationType> for DefaultGenerationType
source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moresource§impl Clone for DefaultGenerationType
impl Clone for DefaultGenerationType
source§fn clone(&self) -> DefaultGenerationType
fn clone(&self) -> DefaultGenerationType
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 DefaultGenerationType
impl Debug for DefaultGenerationType
source§impl Default for DefaultGenerationType
impl Default for DefaultGenerationType
source§impl Deref for DefaultGenerationType
impl Deref for DefaultGenerationType
source§impl One for DefaultGenerationType
impl One for DefaultGenerationType
source§impl Ord for DefaultGenerationType
impl Ord for DefaultGenerationType
source§fn cmp(&self, other: &DefaultGenerationType) -> Ordering
fn cmp(&self, other: &DefaultGenerationType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<DefaultGenerationType> for DefaultGenerationType
impl PartialEq<DefaultGenerationType> for DefaultGenerationType
source§fn eq(&self, other: &DefaultGenerationType) -> bool
fn eq(&self, other: &DefaultGenerationType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<DefaultGenerationType> for DefaultGenerationType
impl PartialOrd<DefaultGenerationType> for DefaultGenerationType
source§fn partial_cmp(&self, other: &DefaultGenerationType) -> Option<Ordering>
fn partial_cmp(&self, other: &DefaultGenerationType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more