pub struct Config {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§
source§impl Decode<Config> for Config
impl Decode<Config> for Config
source§impl<T0: Encode<bool>, T1: Encode<i16>, T2: Encode<i32>, T3: Encode<i64>, T4: Encode<i8>, T5: Encode<BoundedString<100>>, T6: Encode<u16>, T7: Encode<u32>, T8: Encode<u64>, T9: Encode<u8>, T10: Encode<Vector<bool, 100>>, T11: Encode<Vector<i16, 100>>, T12: Encode<Vector<i32, 100>>, T13: Encode<Vector<i64, 100>>, T14: Encode<Vector<i8, 100>>, T15: Encode<Vector<BoundedString<100>, 100>>, T16: Encode<Vector<u16, 100>>, T17: Encode<Vector<u32, 100>>, T18: Encode<Vector<u64, 100>>, T19: Encode<Vector<u8, 100>>> Encode<Config> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)
impl<T0: Encode<bool>, T1: Encode<i16>, T2: Encode<i32>, T3: Encode<i64>, T4: Encode<i8>, T5: Encode<BoundedString<100>>, T6: Encode<u16>, T7: Encode<u32>, T8: Encode<u64>, T9: Encode<u8>, T10: Encode<Vector<bool, 100>>, T11: Encode<Vector<i16, 100>>, T12: Encode<Vector<i32, 100>>, T13: Encode<Vector<i64, 100>>, T14: Encode<Vector<i8, 100>>, T15: Encode<Vector<BoundedString<100>, 100>>, T16: Encode<Vector<u16, 100>>, T17: Encode<Vector<u32, 100>>, T18: Encode<Vector<u64, 100>>, T19: Encode<Vector<u8, 100>>> Encode<Config> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)
source§impl Ord for Config
impl Ord for Config
source§impl PartialEq for Config
impl PartialEq for Config
source§impl PartialOrd for Config
impl PartialOrd for Config
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TypeMarker for Config
impl TypeMarker for Config
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 Config
impl ValueTypeMarker for Config
impl Eq for Config
impl Persistable for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
source§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)