#[repr(C)]pub struct BadHandleId {
pub id: u32,
}
Fields§
§id: u32
Trait Implementations§
Source§impl Clone for BadHandleId
impl Clone for BadHandleId
Source§fn clone(&self) -> BadHandleId
fn clone(&self) -> BadHandleId
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 BadHandleId
impl Debug for BadHandleId
Source§impl<D: ResourceDialect> Decode<BadHandleId, D> for BadHandleId
impl<D: ResourceDialect> Decode<BadHandleId, D> for BadHandleId
Source§impl<D: ResourceDialect> Encode<BadHandleId, D> for &BadHandleId
impl<D: ResourceDialect> Encode<BadHandleId, D> for &BadHandleId
Source§impl<D: ResourceDialect, T0: Encode<u32, D>> Encode<BadHandleId, D> for (T0,)
impl<D: ResourceDialect, T0: Encode<u32, D>> Encode<BadHandleId, D> for (T0,)
Source§impl Hash for BadHandleId
impl Hash for BadHandleId
Source§impl Ord for BadHandleId
impl Ord for BadHandleId
Source§fn cmp(&self, other: &BadHandleId) -> Ordering
fn cmp(&self, other: &BadHandleId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BadHandleId
impl PartialEq for BadHandleId
Source§impl PartialOrd for BadHandleId
impl PartialOrd for BadHandleId
Source§impl TypeMarker for BadHandleId
impl TypeMarker for BadHandleId
Source§type Owned = BadHandleId
type Owned = BadHandleId
The owned Rust type which this FIDL type decodes into.
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align
.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.Source§impl ValueTypeMarker for BadHandleId
impl ValueTypeMarker for BadHandleId
Source§type Borrowed<'a> = &'a BadHandleId
type Borrowed<'a> = &'a BadHandleId
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Copy for BadHandleId
impl Eq for BadHandleId
impl Persistable for BadHandleId
impl StructuralPartialEq for BadHandleId
Auto Trait Implementations§
impl Freeze for BadHandleId
impl RefUnwindSafe for BadHandleId
impl Send for BadHandleId
impl Sync for BadHandleId
impl Unpin for BadHandleId
impl UnwindSafe for BadHandleId
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
The marker type to use when the body is nested in a result union.
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