Struct totsu_core::solver::SliceMut
source · Expand description
Wrapping a mutable reference of SliceLike
.
Implementations§
source§impl<'a, S: SliceLike + ?Sized> SliceMut<'a, S>
impl<'a, S: SliceLike + ?Sized> SliceMut<'a, S>
sourcepub unsafe fn new(s: &'a mut S) -> Self
pub unsafe fn new(s: &'a mut S) -> Self
Wraps a mutable reference of SliceLike
and creates a SliceMut
.
This is unsafe and intended to be used only by SliceLike::new_mut
and SliceLike::split_mut
implementor.
Returns the SliceMut
.
s
is a mutable reference ofSliceLike
.