#[repr(C)]pub struct ptr_result {
pub err: twz_error,
pub val: *mut c_void,
}
Expand description
Error or value
Fields§
§err: twz_error
§val: *mut c_void
Trait Implementations§
Source§impl Clone for ptr_result
impl Clone for ptr_result
Source§fn clone(&self) -> ptr_result
fn clone(&self) -> ptr_result
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ptr_result
impl Debug for ptr_result
impl Copy for ptr_result
Auto Trait Implementations§
impl Freeze for ptr_result
impl RefUnwindSafe for ptr_result
impl !Send for ptr_result
impl !Sync for ptr_result
impl Unpin for ptr_result
impl UnwindSafe for ptr_result
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more