Trait stack::Array [] [src]

pub unsafe trait Array {
    type Item;
    type Index: ArrayIndex;
    fn len() -> usize;
    fn as_ptr(&self) -> *const Self::Item;
    fn as_mut_ptr(&mut self) -> *mut Self::Item;

    unsafe fn uninitialized() -> Self where Self: Sized { ... }
}

Associated Types

type Item

type Index: ArrayIndex

Required Methods

fn len() -> usize

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

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

Provided Methods

unsafe fn uninitialized() -> Self where Self: Sized

Implementors