Struct unexpected::OutOfBounds [−][src]
Error indicating value found is outside of a valid range.
Fields
min: Option<T>
                           Minimum allowed value.
max: Option<T>
                           Maximum allowed value.
found: T
                           Value found.
Methods
impl<T> OutOfBounds<T>[src] 
impl<T> OutOfBounds<T>pub fn map<F, U>(self, map: F) -> OutOfBounds<U> where
    F: Fn(T) -> U, [src] 
pub fn map<F, U>(self, map: F) -> OutOfBounds<U> where
    F: Fn(T) -> U, Trait Implementations
impl<T: Debug> Debug for OutOfBounds<T>[src] 
impl<T: Debug> Debug for OutOfBounds<T>fn fmt(&self, f: &mut Formatter) -> Result[src] 
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<T: PartialEq> PartialEq for OutOfBounds<T>[src] 
impl<T: PartialEq> PartialEq for OutOfBounds<T>fn eq(&self, other: &OutOfBounds<T>) -> bool[src] 
fn eq(&self, other: &OutOfBounds<T>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &OutOfBounds<T>) -> bool[src] 
fn ne(&self, other: &OutOfBounds<T>) -> boolThis method tests for !=.
impl<T: Eq> Eq for OutOfBounds<T>[src] 
impl<T: Eq> Eq for OutOfBounds<T>impl<T: Clone> Clone for OutOfBounds<T>[src] 
impl<T: Clone> Clone for OutOfBounds<T>fn clone(&self) -> OutOfBounds<T>[src] 
fn clone(&self) -> OutOfBounds<T>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src] 
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<T: Copy> Copy for OutOfBounds<T>[src] 
impl<T: Copy> Copy for OutOfBounds<T>impl<T: Display> Display for OutOfBounds<T>[src] 
impl<T: Display> Display for OutOfBounds<T>Auto Trait Implementations
impl<T> Send for OutOfBounds<T> where
    T: Send, 
impl<T> Send for OutOfBounds<T> where
    T: Send, impl<T> Sync for OutOfBounds<T> where
    T: Sync, 
impl<T> Sync for OutOfBounds<T> where
    T: Sync,