Skip to main content

FidlvizDemo

Struct FidlvizDemo 

Source
#[repr(C)]
pub struct FidlvizDemo<'de> {
Show 31 fields pub f1: u8, pub f2: i8, pub f3: Uint16, pub f4: Uint32, pub f5: Uint64, pub f6: u8, pub f7: u8, pub f8: Uint16, pub f9: Float32, pub f10: Float64, pub f11: bool, pub f12: bool, pub f13: String<'de>, pub f14: OptionalString<'de>, pub f15: String<'de>, pub f16: OptionalNullableHandle, pub f17: NullableHandle, pub f18: [u8; 3], pub f19: Vector<'de, Float64>, pub f20: OptionalVector<'de, u8>, pub f21: Vector<'de, u8>, pub f22: FidlvizBits, pub f23: FidlvizEnum, pub f24: FidlvizStruct1, pub f25: FidlvizStruct2, pub f26: Box<'de, FidlvizStruct1>, pub f27: Box<'de, FidlvizStruct2>, pub f28: FidlvizTable<'de>, pub f29: FidlvizTable<'de>, pub f30: FidlvizUnion<'de>, pub f31: FidlvizUnion<'de>,
}
Expand description

The wire type corresponding to FidlvizDemo.

Fields§

§f1: u8§f2: i8§f3: Uint16§f4: Uint32§f5: Uint64§f6: u8§f7: u8§f8: Uint16§f9: Float32§f10: Float64§f11: bool§f12: bool§f13: String<'de>§f14: OptionalString<'de>§f15: String<'de>§f16: OptionalNullableHandle§f17: NullableHandle§f18: [u8; 3]§f19: Vector<'de, Float64>§f20: OptionalVector<'de, u8>§f21: Vector<'de, u8>§f22: FidlvizBits§f23: FidlvizEnum§f24: FidlvizStruct1§f25: FidlvizStruct2§f26: Box<'de, FidlvizStruct1>§f27: Box<'de, FidlvizStruct2>§f28: FidlvizTable<'de>§f29: FidlvizTable<'de>§f30: FidlvizUnion<'de>§f31: FidlvizUnion<'de>

Trait Implementations§

Source§

impl Constrained for FidlvizDemo<'_>

Source§

type Constraint = ()

Type of constraint information for this type.
Source§

fn validate( _: Slot<'_, Self>, _: Self::Constraint, ) -> Result<(), ValidationError>

Validate a slot of this type against a constraint. Can be called when pointers/envelopes are just presence markers.
Source§

impl<'de> Debug for FidlvizDemo<'de>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de, ___D> Decode<___D> for FidlvizDemo<'de>
where ___D: InternalHandleDecoder + ?Sized + Decoder<'de> + HandleDecoder,

Source§

fn decode( slot_: Slot<'_, Self>, decoder_: &mut ___D, _: (), ) -> Result<(), DecodeError>

Decodes a value into a slot using a decoder. Read more
Source§

impl<___E> Encode<FidlvizDemo<'static>, ___E> for FidlvizDemo
where ___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,

Source§

fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<FidlvizDemo<'static>>, _: (), ) -> Result<(), EncodeError>

Encodes this value into an encoder and output.
§

const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _

Whether the conversion from Self to W is equivalent to copying the raw bytes of Self. Read more
Source§

impl<___E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29, T30> Encode<FidlvizDemo<'static>, ___E> for FidlvizDemo<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29, T30>
where ___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder, T0: Encode<u8, ___E>, T1: Encode<i8, ___E>, T2: Encode<Uint16, ___E>, T3: Encode<Uint32, ___E>, T4: Encode<Uint64, ___E>, T5: Encode<u8, ___E>, T6: Encode<u8, ___E>, T7: Encode<Uint16, ___E>, T8: Encode<Float32, ___E>, T9: Encode<Float64, ___E>, T10: Encode<bool, ___E>, T11: Encode<bool, ___E>, T12: Encode<String<'static>, ___E>, T13: Encode<OptionalString<'static>, ___E>, T14: Encode<String<'static>, ___E>, T15: Encode<OptionalNullableHandle, ___E>, T16: Encode<NullableHandle, ___E>, T17: Encode<[u8; 3], ___E>, T18: Encode<Vector<'static, Float64>, ___E>, T19: Encode<OptionalVector<'static, u8>, ___E>, T20: Encode<Vector<'static, u8>, ___E>, T21: Encode<FidlvizBits, ___E>, T22: Encode<FidlvizEnum, ___E>, T23: Encode<FidlvizStruct1, ___E>, T24: Encode<FidlvizStruct2, ___E>, T25: Encode<Box<'static, FidlvizStruct1>, ___E>, T26: Encode<Box<'static, FidlvizStruct2>, ___E>, T27: Encode<FidlvizTable<'static>, ___E>, T28: Encode<FidlvizTable<'static>, ___E>, T29: Encode<FidlvizUnion<'static>, ___E>, T30: Encode<FidlvizUnion<'static>, ___E>,

Source§

fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<FidlvizDemo<'static>>, _: (), ) -> Result<(), EncodeError>

Encodes this value into an encoder and output.
§

const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _

Whether the conversion from Self to W is equivalent to copying the raw bytes of Self. Read more
Source§

impl<'de> FromWire<FidlvizDemo<'de>> for FidlvizDemo

Source§

fn from_wire(wire: FidlvizDemo<'de>) -> Self

Converts the given owned value to this type.
§

const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _

Whether the conversion from W to Self is equivalent to copying the raw bytes of W. Read more
Source§

impl<'de> IntoNatural for FidlvizDemo<'de>

Source§

type Natural = FidlvizDemo

A good default type for this wire type to convert into.
§

fn into_natural(self) -> Self::Natural

Converts this type into its natural equivalent.
Source§

impl Wire for FidlvizDemo<'static>

Source§

type Narrowed<'de> = FidlvizDemo<'de>

The narrowed wire type, restricted to the 'de lifetime.
Source§

fn zero_padding(out_: &mut MaybeUninit<Self>)

Writes zeroes to the padding for this type, if any.

Auto Trait Implementations§

§

impl<'de> Freeze for FidlvizDemo<'de>

§

impl<'de> RefUnwindSafe for FidlvizDemo<'de>

§

impl<'de> Send for FidlvizDemo<'de>

§

impl<'de> Sync for FidlvizDemo<'de>

§

impl<'de> Unpin for FidlvizDemo<'de>

§

impl<'de> UnsafeUnpin for FidlvizDemo<'de>

§

impl<'de> !UnwindSafe for FidlvizDemo<'de>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T, D> Encode<Ambiguous1, D> for T
where D: ResourceDialect,

Source§

unsafe fn encode( self, _encoder: &mut Encoder<'_, D>, _offset: usize, _depth: Depth, ) -> Result<(), Error>

Encodes the object into the encoder’s buffers. Any handles stored in the object are swapped for Handle::INVALID. Read more
Source§

impl<T, D> Encode<Ambiguous2, D> for T
where D: ResourceDialect,

Source§

unsafe fn encode( self, _encoder: &mut Encoder<'_, D>, _offset: usize, _depth: Depth, ) -> Result<(), Error>

Encodes the object into the encoder’s buffers. Any handles stored in the object are swapped for Handle::INVALID. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> InstanceFromServiceTransport<T> for T

§

fn from_service_transport(handle: T) -> T

Converts the given service transport handle of type T to [Self]
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<E> RunsTransport<Mpsc> for E

§

impl<E> RunsTransport<Mpsc> for E
where E: RunsTransport<Mpsc>,