pub struct DangerousMembers {Show 42 fields
pub alignas: Option<u32>,
pub atomic_cancel: Option<u32>,
pub bool: Option<u32>,
pub case: Option<u32>,
pub char16_t: Option<u32>,
pub co_await: Option<u32>,
pub compl: Option<u32>,
pub constexpr: Option<u32>,
pub covariant: Option<u32>,
pub decoder: Option<u32>,
pub delete: Option<u32>,
pub dynamic_cast: Option<u32>,
pub ensure_values_instantiated: Option<u32>,
pub explicit: Option<u32>,
pub external: Option<u32>,
pub fidl_type: Option<u32>,
pub func: Option<u32>,
pub go: Option<u32>,
pub hash_code: Option<u32>,
pub implements: Option<u32>,
pub inline: Option<u32>,
pub int64: Option<u32>,
pub is: Option<u32>,
pub list: Option<u32>,
pub map: Option<u32>,
pub module: Option<u32>,
pub namespace: Option<u32>,
pub noexcept: Option<u32>,
pub null: Option<u32>,
pub operator: Option<u32>,
pub private: Option<u32>,
pub result_: Option<u32>,
pub rhs: Option<u32>,
pub short: Option<u32>,
pub string: Option<u32>,
pub stdin: Option<u32>,
pub synchronized: Option<u32>,
pub throw: Option<u32>,
pub uint8: Option<u32>,
pub value_union: Option<u32>,
pub xor: Option<u32>,
pub zx: Option<u32>,
/* private fields */
}
Fields§
§alignas: Option<u32>
§atomic_cancel: Option<u32>
§bool: Option<u32>
§case: Option<u32>
§char16_t: Option<u32>
§co_await: Option<u32>
§compl: Option<u32>
§constexpr: Option<u32>
§covariant: Option<u32>
§decoder: Option<u32>
§delete: Option<u32>
§dynamic_cast: Option<u32>
§ensure_values_instantiated: Option<u32>
§explicit: Option<u32>
§external: Option<u32>
§fidl_type: Option<u32>
§func: Option<u32>
§go: Option<u32>
§hash_code: Option<u32>
§implements: Option<u32>
§inline: Option<u32>
§int64: Option<u32>
§is: Option<u32>
§list: Option<u32>
§map: Option<u32>
§module: Option<u32>
§namespace: Option<u32>
§noexcept: Option<u32>
§null: Option<u32>
§operator: Option<u32>
§private: Option<u32>
§result_: Option<u32>
§rhs: Option<u32>
§short: Option<u32>
§string: Option<u32>
§stdin: Option<u32>
§synchronized: Option<u32>
§throw: Option<u32>
§uint8: Option<u32>
§value_union: Option<u32>
§xor: Option<u32>
§zx: Option<u32>
Implementations§
Trait Implementations§
source§impl Clone for DangerousMembers
impl Clone for DangerousMembers
source§fn clone(&self) -> DangerousMembers
fn clone(&self) -> DangerousMembers
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 DangerousMembers
impl Debug for DangerousMembers
source§impl Decodable for DangerousMembers
impl Decodable for DangerousMembers
source§fn decode(&mut self, decoder: &mut Decoder<'_>, offset: usize) -> Result<()>
fn decode(&mut self, decoder: &mut Decoder<'_>, offset: usize) -> Result<()>
Decodes an object of this type from the decoder’s buffers into
self
.
Callers must ensure that offset
is a multiple of
Layout::inline_align
, and that decoder.buf
has room for reading
Layout::inline_size
bytes at offset
. Read moresource§impl Encodable for DangerousMembers
impl Encodable for DangerousMembers
source§fn encode(
&mut self,
encoder: &mut Encoder<'_, '_>,
offset: usize,
recursion_depth: usize
) -> Result<()>
fn encode( &mut self, encoder: &mut Encoder<'_, '_>, offset: usize, recursion_depth: usize ) -> Result<()>
Encode the object into the buffer. Any handles stored in the object are
swapped for
Handle::INVALID
. Callers must ensure that offset
is a
multiple of Layout::inline_align
, and that encoder.buf
has room for
writing Layout::inline_size
bytes at offset
. Read moresource§impl Layout for DangerousMembers
impl Layout for DangerousMembers
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 the type’s alignment. Must be a multiple of
inline_align
.source§impl PartialEq<DangerousMembers> for DangerousMembers
impl PartialEq<DangerousMembers> for DangerousMembers
source§fn eq(&self, other: &DangerousMembers) -> bool
fn eq(&self, other: &DangerousMembers) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Persistable for DangerousMembers
impl StructuralPartialEq for DangerousMembers
impl TopLevel for DangerousMembers
Auto Trait Implementations§
impl RefUnwindSafe for DangerousMembers
impl Send for DangerousMembers
impl Sync for DangerousMembers
impl Unpin for DangerousMembers
impl UnwindSafe for DangerousMembers
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> LayoutObject for Twhere
T: Layout,
impl<T> LayoutObject for Twhere T: Layout,
source§fn inline_align(&self, context: &Context) -> usize
fn inline_align(&self, context: &Context) -> usize
See
Layout::inline_align
.source§fn inline_size(&self, context: &Context) -> usize
fn inline_size(&self, context: &Context) -> usize
See
Layout::inline_size
.