pub enum LayoutParameter {
NestedType(ConfigType),
UnknownOrdinal_(u64),
}
Variants§
NestedType(ConfigType)
UnknownOrdinal_(u64)
Trait Implementations§
Source§impl Clone for LayoutParameter
impl Clone for LayoutParameter
Source§fn clone(&self) -> LayoutParameter
fn clone(&self) -> LayoutParameter
Returns a copy 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 Debug for LayoutParameter
impl Debug for LayoutParameter
Source§impl Encodable for LayoutParameter
impl Encodable for LayoutParameter
Source§type Encoded = WireLayoutParameter
type Encoded = WireLayoutParameter
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl EncodableOption for Box<LayoutParameter>
impl EncodableOption for Box<LayoutParameter>
Source§type EncodedOption = WireOptionalLayoutParameter
type EncodedOption = WireOptionalLayoutParameter
The wire type for the optional value.
Source§impl<___E> Encode<___E> for LayoutParameterwhere
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<___E> Encode<___E> for LayoutParameterwhere
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§impl<___E> EncodeOption<___E> for Box<LayoutParameter>where
___E: ?Sized,
LayoutParameter: Encode<___E>,
impl<___E> EncodeOption<___E> for Box<LayoutParameter>where
___E: ?Sized,
LayoutParameter: Encode<___E>,
Source§fn encode_option(
this: Option<&mut Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Self::EncodedOption>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<&mut Self>, encoder: &mut ___E, out: &mut MaybeUninit<Self::EncodedOption>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl TakeFrom<WireLayoutParameter> for LayoutParameter
impl TakeFrom<WireLayoutParameter> for LayoutParameter
Source§fn take_from(from: &WireLayoutParameter) -> Self
fn take_from(from: &WireLayoutParameter) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreAuto Trait Implementations§
impl Freeze for LayoutParameter
impl RefUnwindSafe for LayoutParameter
impl Send for LayoutParameter
impl Sync for LayoutParameter
impl Unpin for LayoutParameter
impl UnwindSafe for LayoutParameter
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