#[repr(C, align(16))]pub struct map_result {
pub handle: object_handle,
pub error: twz_error,
}
Expand description
Result map_object call
Fields§
§handle: object_handle
Handle, if error is set to Success.
error: twz_error
Trait Implementations§
Source§impl Clone for map_result
impl Clone for map_result
Source§fn clone(&self) -> map_result
fn clone(&self) -> map_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 map_result
impl Debug for map_result
Source§impl From<Result<ObjectHandle, TwzError>> for map_result
impl From<Result<ObjectHandle, TwzError>> for map_result
Source§fn from(value: Result<ObjectHandle>) -> Self
fn from(value: Result<ObjectHandle>) -> Self
Converts to this type from the input type.
Source§impl From<map_result> for Result<ObjectHandle>
impl From<map_result> for Result<ObjectHandle>
Source§fn from(value: map_result) -> Self
fn from(value: map_result) -> Self
Converts to this type from the input type.
impl Copy for map_result
Auto Trait Implementations§
impl Freeze for map_result
impl RefUnwindSafe for map_result
impl !Send for map_result
impl !Sync for map_result
impl Unpin for map_result
impl UnwindSafe for map_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