[][src]Trait cl_traits::GetMut

pub trait GetMut<T> {
    type GetMutInput;
    fn get_mut(&mut self, input: Self::GetMutInput) -> Option<&mut T>;
}

Has some way to extract a mutable reference from some sort of storage.

Associated Types

type GetMutInput

Input type for the get_mut` method.

Loading content...

Required methods

fn get_mut(&mut self, input: Self::GetMutInput) -> Option<&mut T>

Extracts a mutable reference.

Loading content...

Implementors

impl<'a, T> GetMut<T> for &'a mut [T][src]

type GetMutInput = usize

impl<T, const N: usize> GetMut<T> for [T; N][src]

type GetMutInput = usize

Loading content...