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; }
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
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).