Struct relm::ManuallyDrop
[−]
[src]
pub struct ManuallyDrop<T> { /* fields omitted */ }
A small type to avoid running the destructor of T
Methods
impl<T> ManuallyDrop<T>
[src]
fn new(t: T) -> ManuallyDrop<T>
Trait Implementations
impl<T> Deref for ManuallyDrop<T>
[src]
type Target = T
The resulting type after dereferencing
fn deref(&self) -> &T
The method called to dereference a value