Skip to main content

FidlvizDemo

Struct FidlvizDemo 

Source
pub struct FidlvizDemo {
Show 31 fields pub f1: u8, pub f2: i8, pub f3: u16, pub f4: u32, pub f5: u64, pub f6: u8, pub f7: u8, pub f8: u16, pub f9: f32, pub f10: f64, pub f11: bool, pub f12: bool, pub f13: String, pub f14: Option<String>, pub f15: String, pub f16: Option<NullableHandle>, pub f17: NullableHandle, pub f18: [u8; 3], pub f19: Vec<f64>, pub f20: Option<Vec<u8>>, pub f21: Vec<u8>, pub f22: FidlvizBits, pub f23: FidlvizEnum, pub f24: FidlvizStruct1, pub f25: FidlvizStruct2, pub f26: Option<Box<FidlvizStruct1>>, pub f27: Option<Box<FidlvizStruct2>>, pub f28: FidlvizTable, pub f29: FidlvizTable, pub f30: Option<Box<FidlvizUnion>>, pub f31: FidlvizUnion,
}

Fields§

§f1: u8§f2: i8§f3: u16§f4: u32§f5: u64§f6: u8§f7: u8§f8: u16§f9: f32§f10: f64§f11: bool§f12: bool§f13: String§f14: Option<String>§f15: String§f16: Option<NullableHandle>§f17: NullableHandle§f18: [u8; 3]§f19: Vec<f64>§f20: Option<Vec<u8>>§f21: Vec<u8>§f22: FidlvizBits§f23: FidlvizEnum§f24: FidlvizStruct1§f25: FidlvizStruct2§f26: Option<Box<FidlvizStruct1>>§f27: Option<Box<FidlvizStruct2>>§f28: FidlvizTable§f29: FidlvizTable§f30: Option<Box<FidlvizUnion>>§f31: FidlvizUnion

Trait Implementations§

Source§

impl CompatFrom<FidlvizDemo> for FidlvizDemo

Source§

fn compat_from(value: FidlvizDemo) -> Self

Converts value into a value of this type.
Source§

impl CompatFrom<FidlvizDemo> for FidlvizDemo

Source§

fn compat_from(value: FidlvizDemo) -> Self

Converts value into a value of this type.
Source§

impl Debug for FidlvizDemo

Source§

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

Formats the value using the given formatter. 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> EncodeOption<Box<'static, FidlvizDemo<'static>>, ___E> for FidlvizDemo
where ___E: Encoder + ?Sized, FidlvizDemo: Encode<FidlvizDemo<'static>, ___E>,

Source§

fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, FidlvizDemo<'static>>>, _: (), ) -> Result<(), EncodeError>

Encodes this optional value into an encoder and output.
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 PartialEq for FidlvizDemo

Source§

fn eq(&self, other: &FidlvizDemo) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for FidlvizDemo

Auto Trait Implementations§

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, W> FromWireOption<Box<'_, W>> for T
where T: FromWire<W>,

§

fn from_wire_option(wire: Box<'_, W>) -> Option<T>

Converts the given owned value to an option of this type.
§

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>,