Trait boxing_day::Unwrappable
[−]
[src]
pub trait Unwrappable<T> { fn unwrap(&self) -> Option<&T>; fn unwrap_mut(&mut self) -> Option<&mut T>; }
Required Methods
fn unwrap(&self) -> Option<&T>
Unwrap this box and get &T if you're allowed to
fn unwrap_mut(&mut self) -> Option<&mut T>
Unwrap this box and get &mut T if you're allowed to