pub struct Arrays2d {
pub b: [[bool; 2]; 3],
pub i8: [[i8; 2]; 3],
pub i16: [[i16; 2]; 3],
pub i32: [[i32; 2]; 3],
pub i64: [[i64; 2]; 3],
pub u8: [[u8; 2]; 3],
pub u16: [[u16; 2]; 3],
pub u32: [[u32; 2]; 3],
pub u64: [[u64; 2]; 3],
pub f32: [[f32; 2]; 3],
pub f64: [[f64; 2]; 3],
pub handle_handle: [[Handle; 2]; 3],
}
Fields§
§b: [[bool; 2]; 3]
§i8: [[i8; 2]; 3]
§i16: [[i16; 2]; 3]
§i32: [[i32; 2]; 3]
§i64: [[i64; 2]; 3]
§u8: [[u8; 2]; 3]
§u16: [[u16; 2]; 3]
§u32: [[u32; 2]; 3]
§u64: [[u64; 2]; 3]
§f32: [[f32; 2]; 3]
§f64: [[f64; 2]; 3]
§handle_handle: [[Handle; 2]; 3]
Trait Implementations§
Source§impl Decode<Arrays2d, DefaultFuchsiaResourceDialect> for Arrays2d
impl Decode<Arrays2d, DefaultFuchsiaResourceDialect> for Arrays2d
Source§impl<T0: Encode<Array<Array<bool, 2>, 3>, DefaultFuchsiaResourceDialect>, T1: Encode<Array<Array<i8, 2>, 3>, DefaultFuchsiaResourceDialect>, T2: Encode<Array<Array<i16, 2>, 3>, DefaultFuchsiaResourceDialect>, T3: Encode<Array<Array<i32, 2>, 3>, DefaultFuchsiaResourceDialect>, T4: Encode<Array<Array<i64, 2>, 3>, DefaultFuchsiaResourceDialect>, T5: Encode<Array<Array<u8, 2>, 3>, DefaultFuchsiaResourceDialect>, T6: Encode<Array<Array<u16, 2>, 3>, DefaultFuchsiaResourceDialect>, T7: Encode<Array<Array<u32, 2>, 3>, DefaultFuchsiaResourceDialect>, T8: Encode<Array<Array<u64, 2>, 3>, DefaultFuchsiaResourceDialect>, T9: Encode<Array<Array<f32, 2>, 3>, DefaultFuchsiaResourceDialect>, T10: Encode<Array<Array<f64, 2>, 3>, DefaultFuchsiaResourceDialect>, T11: Encode<Array<Array<HandleType<Handle, { _ }, 2147483648>, 2>, 3>, DefaultFuchsiaResourceDialect>> Encode<Arrays2d, DefaultFuchsiaResourceDialect> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
impl<T0: Encode<Array<Array<bool, 2>, 3>, DefaultFuchsiaResourceDialect>, T1: Encode<Array<Array<i8, 2>, 3>, DefaultFuchsiaResourceDialect>, T2: Encode<Array<Array<i16, 2>, 3>, DefaultFuchsiaResourceDialect>, T3: Encode<Array<Array<i32, 2>, 3>, DefaultFuchsiaResourceDialect>, T4: Encode<Array<Array<i64, 2>, 3>, DefaultFuchsiaResourceDialect>, T5: Encode<Array<Array<u8, 2>, 3>, DefaultFuchsiaResourceDialect>, T6: Encode<Array<Array<u16, 2>, 3>, DefaultFuchsiaResourceDialect>, T7: Encode<Array<Array<u32, 2>, 3>, DefaultFuchsiaResourceDialect>, T8: Encode<Array<Array<u64, 2>, 3>, DefaultFuchsiaResourceDialect>, T9: Encode<Array<Array<f32, 2>, 3>, DefaultFuchsiaResourceDialect>, T10: Encode<Array<Array<f64, 2>, 3>, DefaultFuchsiaResourceDialect>, T11: Encode<Array<Array<HandleType<Handle, { _ }, 2147483648>, 2>, 3>, DefaultFuchsiaResourceDialect>> Encode<Arrays2d, DefaultFuchsiaResourceDialect> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
Source§impl PartialOrd for Arrays2d
impl PartialOrd for Arrays2d
Source§impl ResourceTypeMarker for Arrays2d
impl ResourceTypeMarker for Arrays2d
Source§type Borrowed<'a> = &'a mut Arrays2d
type Borrowed<'a> = &'a mut Arrays2d
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &mut Self::Owned
. There are three cases: Read moreSource§fn take_or_borrow<'a>(
value: &'a mut <Self as TypeMarker>::Owned,
) -> Self::Borrowed<'a>
fn take_or_borrow<'a>( value: &'a mut <Self as TypeMarker>::Owned, ) -> Self::Borrowed<'a>
Cheaply converts from
&mut Self::Owned
to Self::Borrowed
. For
HandleBased
types this is “take” (it returns an owned handle and
replaces value
with Handle::invalid
), and for all other types it is
“borrow” (just converts from one reference to another).Source§impl TypeMarker for Arrays2d
impl TypeMarker for Arrays2d
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.impl Standalone<DefaultFuchsiaResourceDialect> for Arrays2d
impl StructuralPartialEq for Arrays2d
Auto Trait Implementations§
impl Freeze for Arrays2d
impl RefUnwindSafe for Arrays2d
impl Send for Arrays2d
impl Sync for Arrays2d
impl Unpin for Arrays2d
impl UnwindSafe for Arrays2d
Blanket Implementations§
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