Struct nuklear::Handle [−][src]
#[repr(C)]pub struct Handle { /* fields omitted */ }
Methods
impl Handle[src]
impl Handlepub fn id(&mut self) -> Option<i32>[src]
pub fn id(&mut self) -> Option<i32>pub fn ptr(&mut self) -> Option<*mut c_void>[src]
pub fn ptr(&mut self) -> Option<*mut c_void>pub fn from_id(value: i32) -> Handle[src]
pub fn from_id(value: i32) -> Handlepub unsafe fn from_ptr(value: *mut c_void) -> Handle[src]
pub unsafe fn from_ptr(value: *mut c_void) -> HandleTrait Implementations
impl Debug for Handle[src]
impl Debug for Handlefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Handle[src]
impl Clone for Handlefn clone(&self) -> Handle[src]
fn clone(&self) -> HandleReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for Handle[src]
impl Copy for Handleimpl Default for Handle[src]
impl Default for Handle