[−][src]Trait optional::Noned
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
.