Trait conv::misc::Saturated [] [src]

pub trait Saturated {
    fn saturated_max() -> Self;
    fn saturated_min() -> Self;
}

This trait indicates that values of a type can be logically "saturated".

This is used by the errors::UnwrapOrSaturate extension trait.

Required Methods

Returns the type's saturated, maximum value.

Returns the type's saturated, minimum value.

Implementors