pub struct Mutable_slice_type<'a, T, S = u32>{ /* private fields */ }
Implementations§
Source§impl<'a, T, S> Mutable_slice_type<'a, T, S>
impl<'a, T, S> Mutable_slice_type<'a, T, S>
pub fn From( Slice: NonNull<T>, Length: NonNull<S>, Size: S, ) -> Result<Self, Error_type>
pub fn Push(&mut self, Value: T) -> Result<(), Error_type>
pub fn Clear(&mut self)
pub fn Is_empty(&self) -> bool
pub fn Get_length(&self) -> usize
pub fn Get_size(&self) -> usize
pub fn As_slice(&self) -> &[T]
Trait Implementations§
Source§impl<'a, T: Debug, S> Debug for Mutable_slice_type<'a, T, S>
impl<'a, T: Debug, S> Debug for Mutable_slice_type<'a, T, S>
Auto Trait Implementations§
impl<'a, T, S> Freeze for Mutable_slice_type<'a, T, S>
impl<'a, T, S> RefUnwindSafe for Mutable_slice_type<'a, T, S>where
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T, S> Send for Mutable_slice_type<'a, T, S>
impl<'a, T, S> Sync for Mutable_slice_type<'a, T, S>
impl<'a, T, S> Unpin for Mutable_slice_type<'a, T, S>
impl<'a, T, S = u32> !UnwindSafe for Mutable_slice_type<'a, T, S>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more