Struct RequiredFeatureIncompat
#[repr(C)]pub struct RequiredFeatureIncompat {
pub value: u32,
}
Expand description
Feature Incompatible flag has missing flags.
Fields§
§value: u32
Bitwise flags that are missing.
Trait Implementations§
§impl Clone for RequiredFeatureIncompat
impl Clone for RequiredFeatureIncompat
§fn clone(&self) -> RequiredFeatureIncompat
fn clone(&self) -> RequiredFeatureIncompat
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 more§impl Debug for RequiredFeatureIncompat
impl Debug for RequiredFeatureIncompat
§impl<D> Decode<RequiredFeatureIncompat, D> for RequiredFeatureIncompatwhere
D: ResourceDialect,
impl<D> Decode<RequiredFeatureIncompat, D> for RequiredFeatureIncompatwhere
D: ResourceDialect,
§fn new_empty() -> RequiredFeatureIncompat
fn new_empty() -> RequiredFeatureIncompat
Creates a valid instance of
Self
. The specific value does not matter,
since it will be overwritten by decode
.§impl<D> Encode<RequiredFeatureIncompat, D> for &RequiredFeatureIncompatwhere
D: ResourceDialect,
impl<D> Encode<RequiredFeatureIncompat, D> for &RequiredFeatureIncompatwhere
D: ResourceDialect,
§impl Hash for RequiredFeatureIncompat
impl Hash for RequiredFeatureIncompat
§impl Ord for RequiredFeatureIncompat
impl Ord for RequiredFeatureIncompat
§fn cmp(&self, other: &RequiredFeatureIncompat) -> Ordering
fn cmp(&self, other: &RequiredFeatureIncompat) -> 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
§impl PartialEq for RequiredFeatureIncompat
impl PartialEq for RequiredFeatureIncompat
§impl PartialOrd for RequiredFeatureIncompat
impl PartialOrd for RequiredFeatureIncompat
§impl TypeMarker for RequiredFeatureIncompat
impl TypeMarker for RequiredFeatureIncompat
§type Owned = RequiredFeatureIncompat
type Owned = RequiredFeatureIncompat
The owned Rust type which this FIDL type decodes into.
§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.
§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
.§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 more§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.§impl ValueTypeMarker for RequiredFeatureIncompat
impl ValueTypeMarker for RequiredFeatureIncompat
§type Borrowed<'a> = &'a RequiredFeatureIncompat
type Borrowed<'a> = &'a RequiredFeatureIncompat
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: &<RequiredFeatureIncompat as TypeMarker>::Owned,
) -> <RequiredFeatureIncompat as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<RequiredFeatureIncompat as TypeMarker>::Owned, ) -> <RequiredFeatureIncompat as ValueTypeMarker>::Borrowed<'_>
Cheaply converts from
&Self::Owned
to Self::Borrowed
.impl Copy for RequiredFeatureIncompat
impl Eq for RequiredFeatureIncompat
impl Persistable for RequiredFeatureIncompat
impl StructuralPartialEq for RequiredFeatureIncompat
Auto Trait Implementations§
impl Freeze for RequiredFeatureIncompat
impl RefUnwindSafe for RequiredFeatureIncompat
impl Send for RequiredFeatureIncompat
impl Sync for RequiredFeatureIncompat
impl Unpin for RequiredFeatureIncompat
impl UnwindSafe for RequiredFeatureIncompat
Blanket Implementations§
Source§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
Source§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
Source§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