#[repr(C)]pub struct StructWithHandleMembers {
pub untyped_handle: Handle,
pub handle_a: Handle,
pub handle_b: Handle,
}
Fields§
§untyped_handle: Handle
§handle_a: Handle
§handle_b: Handle
Trait Implementations§
Source§impl Clone for StructWithHandleMembers
impl Clone for StructWithHandleMembers
Source§fn clone(&self) -> StructWithHandleMembers
fn clone(&self) -> StructWithHandleMembers
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 StructWithHandleMembers
impl Debug for StructWithHandleMembers
Source§impl FromBytes for StructWithHandleMembers
impl FromBytes for StructWithHandleMembers
Source§impl FromZeros for StructWithHandleMembers
impl FromZeros for StructWithHandleMembers
Source§impl IntoBytes for StructWithHandleMembers
impl IntoBytes for StructWithHandleMembers
Source§impl PartialEq for StructWithHandleMembers
impl PartialEq for StructWithHandleMembers
Source§impl TryFromBytes for StructWithHandleMemberswhere
Handle: TryFromBytes,
impl TryFromBytes for StructWithHandleMemberswhere
Handle: TryFromBytes,
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for StructWithHandleMembers
impl Eq for StructWithHandleMembers
impl StructuralPartialEq for StructWithHandleMembers
Auto Trait Implementations§
impl Freeze for StructWithHandleMembers
impl RefUnwindSafe for StructWithHandleMembers
impl Send for StructWithHandleMembers
impl Sync for StructWithHandleMembers
impl Unpin for StructWithHandleMembers
impl UnwindSafe for StructWithHandleMembers
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
)