Trait zeroconf::ffi::UnwrapMutOrNull [−][src]
pub trait UnwrapMutOrNull<T> { fn unwrap_mut_or_null(&mut self) -> *mut T; }
Expand description
Helper trait to unwrap a type to a *mut T
or a null-pointer if not present.
Required methods
fn unwrap_mut_or_null(&mut self) -> *mut T
fn unwrap_mut_or_null(&mut self) -> *mut T
Unwraps this type to *mut T
or ptr::null_mut()
if not present.