Trait std::ptr::RawPtr

pub trait RawPtr<T> {
    fn null() -> Self;
    fn is_null(&self) -> bool;
    fn is_not_null(&self) -> bool;
    fn to_uint(&self) -> uint;
    unsafe fn to_option(&self) -> Option<&T>;
    unsafe fn offset(self, count: int) -> Self;
}

Required Methods

fn null() -> Self

fn is_null(&self) -> bool

fn is_not_null(&self) -> bool

fn to_uint(&self) -> uint

unsafe fn to_option(&self) -> Option<&T>

unsafe fn offset(self, count: int) -> Self

Implementors