Struct drop_ptr::Box
[−]
[src]
pub struct Box<'a, A: ?Sized + DropPtr>(_, _);
Methods
impl<'a, A: ?Sized + DropPtr> Box<'a, A>
[src]
pub unsafe fn new(ptr: *mut A) -> Option<Self>
[src]
pub unsafe fn new_unchecked(ptr: *mut A) -> Self
[src]
Trait Implementations
impl<'a, A: ?Sized + DropPtr> Drop for Box<'a, A>
[src]
impl<'a, A: ?Sized + DropPtr> Deref for Box<'a, A>
[src]
type Target = A
The resulting type after dereferencing.
fn deref(&self) -> &A
[src]
Dereferences the value.