Trait Storage

Source
pub trait Storage {
    // Required methods
    fn as_ref(&self) -> &[usize];
    fn as_mut(&mut self) -> &mut [usize];
}
Expand description

Storage for a slice of usize.

Required Methods§

Source

fn as_ref(&self) -> &[usize]

Source

fn as_mut(&mut self) -> &mut [usize]

Implementations on Foreign Types§

Source§

impl Storage for Vec<usize>

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 0]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 1]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 2]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 3]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 4]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 5]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 6]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 7]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 8]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 9]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 10]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 11]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 12]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 13]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 14]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 15]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 16]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 17]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 18]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 19]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 20]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 21]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 22]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 23]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 24]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 25]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 26]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 27]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 28]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 29]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 30]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 31]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize; 32]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Source§

impl Storage for [usize]

Source§

fn as_ref(&self) -> &[usize]

Source§

fn as_mut(&mut self) -> &mut [usize]

Implementors§