[][src]Trait stack::Array

pub unsafe trait Array: Sized {
    type Item;
    type Index: ArrayIndex;
    fn len() -> usize;
fn as_ptr(&self) -> *const Self::Item;
fn as_mut_ptr(&mut self) -> *mut Self::Item;
fn as_uninit(this: &MaybeUninit<Self>) -> &[MaybeUninit<Self::Item>];
fn as_uninit_mut(
        this: &mut MaybeUninit<Self>
    ) -> &mut [MaybeUninit<Self::Item>]; }

Associated Types

Loading content...

Required methods

fn len() -> usize

fn as_ptr(&self) -> *const Self::Item

fn as_mut_ptr(&mut self) -> *mut Self::Item

fn as_uninit(this: &MaybeUninit<Self>) -> &[MaybeUninit<Self::Item>]

fn as_uninit_mut(this: &mut MaybeUninit<Self>) -> &mut [MaybeUninit<Self::Item>]

Loading content...

Implementations on Foreign Types

impl<T> Array for [T; 0][src]

type Item = T

type Index = u8

impl<T> Array for [T; 1][src]

type Item = T

type Index = u8

impl<T> Array for [T; 2][src]

type Item = T

type Index = u8

impl<T> Array for [T; 3][src]

type Item = T

type Index = u8

impl<T> Array for [T; 4][src]

type Item = T

type Index = u8

impl<T> Array for [T; 5][src]

type Item = T

type Index = u8

impl<T> Array for [T; 6][src]

type Item = T

type Index = u8

impl<T> Array for [T; 7][src]

type Item = T

type Index = u8

impl<T> Array for [T; 8][src]

type Item = T

type Index = u8

impl<T> Array for [T; 9][src]

type Item = T

type Index = u8

impl<T> Array for [T; 10][src]

type Item = T

type Index = u8

impl<T> Array for [T; 11][src]

type Item = T

type Index = u8

impl<T> Array for [T; 12][src]

type Item = T

type Index = u8

impl<T> Array for [T; 13][src]

type Item = T

type Index = u8

impl<T> Array for [T; 14][src]

type Item = T

type Index = u8

impl<T> Array for [T; 15][src]

type Item = T

type Index = u8

impl<T> Array for [T; 16][src]

type Item = T

type Index = u8

impl<T> Array for [T; 17][src]

type Item = T

type Index = u8

impl<T> Array for [T; 18][src]

type Item = T

type Index = u8

impl<T> Array for [T; 19][src]

type Item = T

type Index = u8

impl<T> Array for [T; 20][src]

type Item = T

type Index = u8

impl<T> Array for [T; 21][src]

type Item = T

type Index = u8

impl<T> Array for [T; 22][src]

type Item = T

type Index = u8

impl<T> Array for [T; 23][src]

type Item = T

type Index = u8

impl<T> Array for [T; 24][src]

type Item = T

type Index = u8

impl<T> Array for [T; 25][src]

type Item = T

type Index = u8

impl<T> Array for [T; 26][src]

type Item = T

type Index = u8

impl<T> Array for [T; 27][src]

type Item = T

type Index = u8

impl<T> Array for [T; 28][src]

type Item = T

type Index = u8

impl<T> Array for [T; 29][src]

type Item = T

type Index = u8

impl<T> Array for [T; 30][src]

type Item = T

type Index = u8

impl<T> Array for [T; 31][src]

type Item = T

type Index = u8

impl<T> Array for [T; 32][src]

type Item = T

type Index = u8

impl<T> Array for [T; 64][src]

type Item = T

type Index = u8

impl<T> Array for [T; 128][src]

type Item = T

type Index = u8

impl<T> Array for [T; 256][src]

type Item = T

type Index = u16

impl<T> Array for [T; 512][src]

type Item = T

type Index = u16

impl<T> Array for [T; 1024][src]

type Item = T

type Index = u16

impl<T> Array for [T; 2048][src]

type Item = T

type Index = u16

impl<T> Array for [T; 4096][src]

type Item = T

type Index = u16

impl<T> Array for [T; 8192][src]

type Item = T

type Index = u16

impl<T> Array for [T; 16384][src]

type Item = T

type Index = u16

impl<T> Array for [T; 32768][src]

type Item = T

type Index = u16

impl<T> Array for [T; 65536][src]

type Item = T

type Index = u32

impl<T> Array for [T; 131072][src]

type Item = T

type Index = u32

impl<T> Array for [T; 262144][src]

type Item = T

type Index = u32

impl<T> Array for [T; 524288][src]

type Item = T

type Index = u32

impl<T> Array for [T; 1048576][src]

type Item = T

type Index = u32

impl<T> Array for [T; 2097152][src]

type Item = T

type Index = u32

impl<T> Array for [T; 4194304][src]

type Item = T

type Index = u32

impl<T> Array for [T; 8388608][src]

type Item = T

type Index = u32

impl<T> Array for [T; 16777216][src]

type Item = T

type Index = u32

Loading content...

Implementors

Loading content...