#[repr(C)]pub struct WireInstanceToken {
pub token: WireHandle,
}
Expand description
The wire type corresponding to InstanceToken
.
Fields§
§token: WireHandle
Trait Implementations§
Source§impl Debug for WireInstanceToken
impl Debug for WireInstanceToken
Source§impl<___D> Decode<___D> for WireInstanceTokenwhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
impl<___D> Decode<___D> for WireInstanceTokenwhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
Source§impl TakeFrom<WireInstanceToken> for InstanceToken
impl TakeFrom<WireInstanceToken> for InstanceToken
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: &WireInstanceToken) -> Self
fn take_from(from: &WireInstanceToken) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.Source§impl TakeFrom<WireInstanceToken> for InstanceToken
impl TakeFrom<WireInstanceToken> for InstanceToken
Source§fn take_from(from: &WireInstanceToken) -> Self
fn take_from(from: &WireInstanceToken) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§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§impl ZeroPadding for WireInstanceToken
impl ZeroPadding for WireInstanceToken
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 WireInstanceToken
impl !RefUnwindSafe for WireInstanceToken
impl Send for WireInstanceToken
impl !Sync for WireInstanceToken
impl Unpin for WireInstanceToken
impl UnwindSafe for WireInstanceToken
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