Struct rjs::gc::handles::ptr::Ptr [] [src]

pub struct Ptr<T> {
    // some fields omitted
}

Methods

impl<T> Ptr<T>

fn ptr(&self) -> ptr_t

fn from_ptr(ptr: ptr_t) -> Ptr<T>

fn null() -> Ptr<T>

fn is_null(&self) -> bool

fn as_local<U: GcAllocator>(&self, allocator: &U) -> Local<T>

Trait Implementations

impl<T> PartialEq for Ptr<T>

fn eq(&self, other: &Ptr<T>) -> bool

fn ne(&self, other: &Rhs) -> bool

impl<T> Copy for Ptr<T>

impl<T> Clone for Ptr<T>

fn clone(&self) -> Ptr<T>

fn clone_from(&mut self, source: &Self)

impl<T> Debug for Ptr<T>

fn fmt(&self, fmt: &mut Formatter) -> Result

impl<T> Deref for Ptr<T>

type Target = T

fn deref(&self) -> &T

impl<T> DerefMut for Ptr<T>

fn deref_mut(&mut self) -> &mut T

impl<T> AsPtr<T> for Ptr<T>

fn as_ptr(&self) -> Ptr<T>