pub struct CompatTableValue {
pub union_member: Option<CompatUnion>,
pub array_member: Option<[u32; 3]>,
pub table_member: Option<CompatTableString>,
pub xunion_member: Option<CompatXUnion>,
}Fields§
§union_member: Option<CompatUnion>§array_member: Option<[u32; 3]>§table_member: Option<CompatTableString>§xunion_member: Option<CompatXUnion>Trait Implementations§
Source§impl Clone for CompatTableValue
impl Clone for CompatTableValue
Source§fn clone(&self) -> CompatTableValue
fn clone(&self) -> CompatTableValue
Returns a duplicate 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 moreSource§impl CompatFrom<CompatTableValue> for CompatTableValue
impl CompatFrom<CompatTableValue> for CompatTableValue
Source§fn compat_from(value: CompatTableValue) -> CompatTableValue
fn compat_from(value: CompatTableValue) -> CompatTableValue
Converts
value into a value of this type.Source§impl Debug for CompatTableValue
impl Debug for CompatTableValue
Source§impl Default for CompatTableValue
impl Default for CompatTableValue
Source§fn default() -> CompatTableValue
fn default() -> CompatTableValue
Returns the “default value” for a type. Read more
Source§impl<'a, ___E> Encode<CompatTableValue<'static>, ___E> for &'a CompatTableValuewhere
___E: Encoder + ?Sized,
impl<'a, ___E> Encode<CompatTableValue<'static>, ___E> for &'a CompatTableValuewhere
___E: Encoder + ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<CompatTableValue<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<CompatTableValue<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> Encode<CompatTableValue<'static>, ___E> for CompatTableValuewhere
___E: Encoder + ?Sized,
impl<___E> Encode<CompatTableValue<'static>, ___E> for CompatTableValuewhere
___E: Encoder + ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<CompatTableValue<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<CompatTableValue<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'de> FromWire<CompatTableValue<'de>> for CompatTableValue
impl<'de> FromWire<CompatTableValue<'de>> for CompatTableValue
Source§fn from_wire(wire_: CompatTableValue<'de>) -> CompatTableValue
fn from_wire(wire_: CompatTableValue<'de>) -> CompatTableValue
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<CompatTableValue<'de>> for CompatTableValue
impl<'de> FromWireRef<CompatTableValue<'de>> for CompatTableValue
Source§fn from_wire_ref(wire: &CompatTableValue<'de>) -> CompatTableValue
fn from_wire_ref(wire: &CompatTableValue<'de>) -> CompatTableValue
Converts the given reference to this type.
Source§impl Hash for CompatTableValue
impl Hash for CompatTableValue
Source§impl Ord for CompatTableValue
impl Ord for CompatTableValue
Source§fn cmp(&self, other: &CompatTableValue) -> Ordering
fn cmp(&self, other: &CompatTableValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CompatTableValue
impl PartialEq for CompatTableValue
Source§impl PartialOrd for CompatTableValue
impl PartialOrd for CompatTableValue
impl Eq for CompatTableValue
impl StructuralPartialEq for CompatTableValue
Auto Trait Implementations§
impl Freeze for CompatTableValue
impl RefUnwindSafe for CompatTableValue
impl Send for CompatTableValue
impl Sync for CompatTableValue
impl Unpin for CompatTableValue
impl UnsafeUnpin for CompatTableValue
impl UnwindSafe for CompatTableValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]