Function ami::repurpose::repurpose [] [src]

pub fn repurpose<T, U>(input: &mut T) -> &mut U

Repurpose memory of type T as memory of type U. input is the a reference to the memory to repurpose. Returns the repurposed memory.