[][src]Function out_reference::write

pub fn write<T>(ptr: &mut T, value: T)

Writes a value to the reference without dropping the old value