Type Alias WrappedNewCapabilityId

pub type WrappedNewCapabilityId = WrappedCapabilityId;

Aliased Type§

struct WrappedNewCapabilityId {
    pub id: u64,
}

Fields§

§id: u64

Trait Implementations

§

impl Clone for WrappedCapabilityId

§

fn clone(&self) -> WrappedCapabilityId

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for WrappedCapabilityId

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<D> Decode<WrappedCapabilityId, D> for WrappedCapabilityId
where D: ResourceDialect,

§

fn new_empty() -> WrappedCapabilityId

Creates a valid instance of Self. The specific value does not matter, since it will be overwritten by decode.
§

unsafe fn decode( &mut self, decoder: &mut Decoder<'_, D>, offset: usize, _depth: Depth, ) -> Result<(), Error>

Decodes an object of type T from the decoder’s buffers into self. Read more
§

impl Hash for WrappedCapabilityId

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl Ord for WrappedCapabilityId

§

fn cmp(&self, other: &WrappedCapabilityId) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
§

impl PartialEq for WrappedCapabilityId

§

fn eq(&self, other: &WrappedCapabilityId) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl PartialOrd for WrappedCapabilityId

§

fn partial_cmp(&self, other: &WrappedCapabilityId) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
§

impl TypeMarker for WrappedCapabilityId

§

type Owned = WrappedCapabilityId

The owned Rust type which this FIDL type decodes into.
§

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.
§

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.
§

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 more
§

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.
§

impl ValueTypeMarker for WrappedCapabilityId

§

type Borrowed<'a> = &'a WrappedCapabilityId

The Rust type to use for encoding. This is a particular Encode<Self> type cheaply obtainable from &Self::Owned. There are three cases: Read more
§

fn borrow( value: &<WrappedCapabilityId as TypeMarker>::Owned, ) -> <WrappedCapabilityId as ValueTypeMarker>::Borrowed<'_>

Cheaply converts from &Self::Owned to Self::Borrowed.
§

impl Copy for WrappedCapabilityId

§

impl Eq for WrappedCapabilityId

§

impl Persistable for WrappedCapabilityId

§

impl StructuralPartialEq for WrappedCapabilityId