Struct ReceiverConfig
pub struct ReceiverConfig {Show 20 fields
pub my_flag: bool,
pub my_int16: i16,
pub my_int32: i32,
pub my_int64: i64,
pub my_int8: i8,
pub my_string: String,
pub my_uint16: u16,
pub my_uint32: u32,
pub my_uint64: u64,
pub my_uint8: u8,
pub my_vector_of_flag: Vec<bool>,
pub my_vector_of_int16: Vec<i16>,
pub my_vector_of_int32: Vec<i32>,
pub my_vector_of_int64: Vec<i64>,
pub my_vector_of_int8: Vec<i8>,
pub my_vector_of_string: Vec<String>,
pub my_vector_of_uint16: Vec<u16>,
pub my_vector_of_uint32: Vec<u32>,
pub my_vector_of_uint64: Vec<u64>,
pub my_vector_of_uint8: Vec<u8>,
}
Fields§
§my_flag: bool
§my_int16: i16
§my_int32: i32
§my_int64: i64
§my_int8: i8
§my_string: String
§my_uint16: u16
§my_uint32: u32
§my_uint64: u64
§my_uint8: u8
§my_vector_of_flag: Vec<bool>
§my_vector_of_int16: Vec<i16>
§my_vector_of_int32: Vec<i32>
§my_vector_of_int64: Vec<i64>
§my_vector_of_int8: Vec<i8>
§my_vector_of_string: Vec<String>
§my_vector_of_uint16: Vec<u16>
§my_vector_of_uint32: Vec<u32>
§my_vector_of_uint64: Vec<u64>
§my_vector_of_uint8: Vec<u8>
Trait Implementations§
§impl Clone for ReceiverConfig
impl Clone for ReceiverConfig
§fn clone(&self) -> ReceiverConfig
fn clone(&self) -> ReceiverConfig
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 ReceiverConfig
impl Debug for ReceiverConfig
§impl<D> Decode<ReceiverConfig, D> for ReceiverConfigwhere
D: ResourceDialect,
impl<D> Decode<ReceiverConfig, D> for ReceiverConfigwhere
D: ResourceDialect,
§fn new_empty() -> ReceiverConfig
fn new_empty() -> ReceiverConfig
Creates a valid instance of
Self
. The specific value does not matter,
since it will be overwritten by decode
.§impl<D> Encode<ReceiverConfig, D> for &ReceiverConfigwhere
D: ResourceDialect,
impl<D> Encode<ReceiverConfig, D> for &ReceiverConfigwhere
D: ResourceDialect,
§impl Hash for ReceiverConfig
impl Hash for ReceiverConfig
§impl Ord for ReceiverConfig
impl Ord for ReceiverConfig
§impl PartialEq for ReceiverConfig
impl PartialEq for ReceiverConfig
§impl PartialOrd for ReceiverConfig
impl PartialOrd for ReceiverConfig
§impl TypeMarker for ReceiverConfig
impl TypeMarker for ReceiverConfig
§type Owned = ReceiverConfig
type Owned = ReceiverConfig
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
.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.§impl ValueTypeMarker for ReceiverConfig
impl ValueTypeMarker for ReceiverConfig
§type Borrowed<'a> = &'a ReceiverConfig
type Borrowed<'a> = &'a ReceiverConfig
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: &<ReceiverConfig as TypeMarker>::Owned,
) -> <ReceiverConfig as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<ReceiverConfig as TypeMarker>::Owned, ) -> <ReceiverConfig as ValueTypeMarker>::Borrowed<'_>
Cheaply converts from
&Self::Owned
to Self::Borrowed
.impl Eq for ReceiverConfig
impl Persistable for ReceiverConfig
impl StructuralPartialEq for ReceiverConfig
Auto Trait Implementations§
impl Freeze for ReceiverConfig
impl RefUnwindSafe for ReceiverConfig
impl Send for ReceiverConfig
impl Sync for ReceiverConfig
impl Unpin for ReceiverConfig
impl UnwindSafe for ReceiverConfig
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