[][src]Trait optional::Noned

pub trait Noned {
    fn is_none(&self) -> bool;
fn get_none() -> Self; }

A trait whose implementation for any type T allows the use of Optioned<T> where T is bound by both Sized and Copy.

Required methods

fn is_none(&self) -> bool

Returns true if the contained value is the declared None for T, false otherwise.

fn get_none() -> Self

Returns the declared None value for T.

Loading content...

Implementations on Foreign Types

impl Noned for u8[src]

impl Noned for u16[src]

impl Noned for u32[src]

impl Noned for u64[src]

impl Noned for usize[src]

impl Noned for i8[src]

impl Noned for i16[src]

impl Noned for i32[src]

impl Noned for i64[src]

impl Noned for isize[src]

impl Noned for f32[src]

impl Noned for f64[src]

impl Noned for char[src]

Loading content...

Implementors

Loading content...