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
fn saturated_max() -> Self
Returns the type's saturated, maximum value.
fn saturated_min() -> Self
Returns the type's saturated, minimum value.