#[repr(C, align(16))]pub struct map_result {
pub handle: object_handle,
pub error: map_error,
}
Expand description
Result map_object call
Fields§
§handle: object_handle
Handle, if error is set to Success.
error: map_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, MapError>> for map_result
impl From<Result<ObjectHandle, MapError>> for map_result
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)