#[repr(C)]pub struct WireDeviceGetHardwareIdResponse {
pub response: WireU32,
}
Expand description
The wire type corresponding to DeviceGetHardwareIdResponse
.
Fields§
§response: WireU32
Trait Implementations§
Source§impl Clone for WireDeviceGetHardwareIdResponse
impl Clone for WireDeviceGetHardwareIdResponse
Source§fn clone(&self) -> WireDeviceGetHardwareIdResponse
fn clone(&self) -> WireDeviceGetHardwareIdResponse
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<___D> Decode<___D> for WireDeviceGetHardwareIdResponsewhere
___D: InternalHandleDecoder + ?Sized,
impl<___D> Decode<___D> for WireDeviceGetHardwareIdResponsewhere
___D: InternalHandleDecoder + ?Sized,
Source§impl TakeFrom<WireDeviceGetHardwareIdResponse> for DeviceGetHardwareIdResponse
impl TakeFrom<WireDeviceGetHardwareIdResponse> for DeviceGetHardwareIdResponse
Source§const COPY_OPTIMIZATION: CopyOptimization<Self>
const COPY_OPTIMIZATION: CopyOptimization<Self>
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§fn take_from(from: &WireDeviceGetHardwareIdResponse) -> Self
fn take_from(from: &WireDeviceGetHardwareIdResponse) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.Source§impl ZeroPadding for WireDeviceGetHardwareIdResponse
impl ZeroPadding for WireDeviceGetHardwareIdResponse
Source§fn zero_padding(out: &mut MaybeUninit<Self>)
fn zero_padding(out: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for WireDeviceGetHardwareIdResponse
impl RefUnwindSafe for WireDeviceGetHardwareIdResponse
impl Send for WireDeviceGetHardwareIdResponse
impl Sync for WireDeviceGetHardwareIdResponse
impl Unpin for WireDeviceGetHardwareIdResponse
impl UnwindSafe for WireDeviceGetHardwareIdResponse
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