Struct discrimination::discriminator::Natural
[−]
[src]
pub struct Natural { /* fields omitted */ }
Methods
impl Natural
[src]
fn new<N>(limit: N) -> Natural where
N: Into<usize>,
N: Into<usize>,
unsafe fn new_unchecked<N>(limit: N) -> Natural where
N: Into<usize>,
N: Into<usize>,
fn limit(&self) -> usize
Trait Implementations
impl Debug for Natural
[src]
impl Copy for Natural
[src]
impl Clone for Natural
[src]
fn clone(&self) -> Natural
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl From<usize> for Natural
[src]
impl AsRef<usize> for Natural
[src]
impl AsMut<usize> for Natural
[src]
impl<'a> Discriminator<'a, usize> for Natural
[src]
fn discriminate_sorted<V: 'a, I>(
&'a self,
pairs: I
) -> DiscriminateSorted<'a, usize, V> where
I: IntoIterator,
I::Item: Into<(usize, V)>,
I::IntoIter: DoubleEndedIterator + 'a,
&'a self,
pairs: I
) -> DiscriminateSorted<'a, usize, V> where
I: IntoIterator,
I::Item: Into<(usize, V)>,
I::IntoIter: DoubleEndedIterator + 'a,
fn by_ref(&'a self) -> &'a Self
fn invert(self) -> Invert<Self> where
Self: Sized,
Self: Sized,
fn map_key<J: 'a, F>(self, f: F) -> Map<F, Self> where
Self: Sized,
F: Fn(J) -> K,
Self: Sized,
F: Fn(J) -> K,
fn sum_left<J: 'a, D>(self, other: D) -> Sum<Self, D> where
Self: Sized,
D: Discriminator<'a, J>,
Self: Sized,
D: Discriminator<'a, J>,
fn sum_right<J: 'a, D>(self, other: D) -> Sum<Self, D> where
Self: Sized,
D: Discriminator<'a, J>,
Self: Sized,
D: Discriminator<'a, J>,
fn product_left<J: 'a, D>(self, other: D) -> Product<Self, D> where
Self: Sized,
D: Discriminator<'a, J>,
Self: Sized,
D: Discriminator<'a, J>,
fn product_right<J: 'a, D>(self, other: D) -> Product<Self, D> where
Self: Sized,
D: Discriminator<'a, J>,
Self: Sized,
D: Discriminator<'a, J>,