WrapperMut

Trait WrapperMut 

Source
pub trait WrapperMut: Wrapper {
    // Required method
    fn as_inner_mut(&mut self) -> &mut Self::Inner;
}
Expand description

Trait allowing mutable reference borrowing for the wrapped inner type.

Required Methods§

Source

fn as_inner_mut(&mut self) -> &mut Self::Inner

Returns a mutable reference to the inner representation for the wrapper type

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T, const LEN: usize, const REVERSE_STR: bool> WrapperMut for Array<T, LEN, REVERSE_STR>