Trait pcg_rand::numops::AsSmaller[][src]

pub trait AsSmaller<T> {
    fn shrink(self) -> T;
}

Allows a type to become a type of a smaller value.

Required methods

fn shrink(self) -> T[src]

Loading content...

Implementations on Foreign Types

impl AsSmaller<u128> for u128[src]

impl AsSmaller<u64> for u128[src]

impl AsSmaller<u32> for u128[src]

impl AsSmaller<u16> for u128[src]

impl AsSmaller<u8> for u128[src]

impl AsSmaller<u64> for u64[src]

impl AsSmaller<u32> for u64[src]

impl AsSmaller<u16> for u64[src]

impl AsSmaller<u8> for u64[src]

impl AsSmaller<u32> for u32[src]

impl AsSmaller<u16> for u32[src]

impl AsSmaller<u8> for u32[src]

impl AsSmaller<u16> for u16[src]

impl AsSmaller<u8> for u16[src]

Loading content...

Implementors

Loading content...