Trait mines::SliceExt
[−]
[src]
pub trait SliceExt<T> { unsafe fn boom_get(&self, index: usize) -> &T; unsafe fn boom_get_mut(&mut self, index: usize) -> &mut T; }
boom
extensions to [T]
.
Required Methods
unsafe fn boom_get(&self, index: usize) -> &T
boom
variant of get
.
unsafe fn boom_get_mut(&mut self, index: usize) -> &mut T
boom
variant of get_mut
.