pub struct WireObjectType { /* private fields */ }
Expand description
The wire type for zx::ObjectType
.
Implementations§
Source§impl WireObjectType
impl WireObjectType
Sourcepub fn to_object_type(self) -> ObjectType
pub fn to_object_type(self) -> ObjectType
Returns an ObjectType
with the same value as this wire type.
Trait Implementations§
Source§impl Clone for WireObjectType
impl Clone for WireObjectType
Source§fn clone(&self) -> WireObjectType
fn clone(&self) -> WireObjectType
Returns a duplicate 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 WireObjectType
impl Debug for WireObjectType
Source§impl<D: ?Sized> Decode<D> for WireObjectType
impl<D: ?Sized> Decode<D> for WireObjectType
Source§impl FromWire<WireObjectType> for ObjectType
impl FromWire<WireObjectType> for ObjectType
Source§fn from_wire(wire: WireObjectType) -> Self
fn from_wire(wire: WireObjectType) -> Self
Converts the given
wire
to this type.Source§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<WireObjectType> for ObjectType
impl FromWireRef<WireObjectType> for ObjectType
Source§fn from_wire_ref(wire: &WireObjectType) -> Self
fn from_wire_ref(wire: &WireObjectType) -> Self
Converts the given
wire
reference to this type.Source§impl IntoNatural for WireObjectType
impl IntoNatural for WireObjectType
Source§type Natural = ObjectType
type Natural = ObjectType
A good default type for this wire type to convert into.
Source§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl Wire for WireObjectType
impl Wire for WireObjectType
Source§type Decoded<'de> = WireObjectType
type Decoded<'de> = WireObjectType
The decoded wire type, restricted to the
'de
lifetime.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.
impl Copy for WireObjectType
Auto Trait Implementations§
impl Freeze for WireObjectType
impl RefUnwindSafe for WireObjectType
impl Send for WireObjectType
impl Sync for WireObjectType
impl Unpin for WireObjectType
impl UnwindSafe for WireObjectType
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