pub trait OptionExt<T> { // Required methods unsafe fn boom_some(self) -> T; unsafe fn boom_none(self); unsafe fn boom_take(&mut self) -> T; }
boom extensions to Option.
boom
Option
boom assertion of Some variant.
Some
boom assertion of None variant.
None
take with boom assertion.
take