pub trait SliceExt<T> {
// Required methods
unsafe fn boom_get(&self, index: usize) -> &T;
unsafe fn boom_get_mut(&mut self, index: usize) -> &mut T;
}
Expand description
boom
extensions to [T]
.
Required Methods§
Sourceunsafe fn boom_get_mut(&mut self, index: usize) -> &mut T
unsafe fn boom_get_mut(&mut self, index: usize) -> &mut T
boom
variant of get_mut
.