Struct diny::backend::internal::VariantIdx [−][src]
#[repr(transparent)]pub struct VariantIdx(_);
Implementations
Methods from Deref<Target = usize>
Trait Implementations
type Future = <F as FormatDeserialize>::DeserializeVariantIdx
type Future = <F as FormatDeserialize>::DeserializeVariantIdx
The concrete future returned by the deserialize
method.
pub fn deserialize<F, R>(
format: &'r F,
reader: &'r mut R
) -> <VariantIdx as AsyncDeserialize>::Future where
F: FormatDeserialize,
R: AsyncBufRead + Unpin,
pub fn deserialize<F, R>(
format: &'r F,
reader: &'r mut R
) -> <VariantIdx as AsyncDeserialize>::Future where
F: FormatDeserialize,
R: AsyncBufRead + Unpin,
Attempt to deserialize the type asynchronously for the indicated format via the provided asynchronous reader. Read more
type Future = <F as FormatSerialize>::SerializeVariantIdx
type Future = <F as FormatSerialize>::SerializeVariantIdx
The concrete future returned by the serialize
method.
pub fn serialize<F, W>(
&'w self,
format: &'w F,
writer: &'w mut W
) -> <VariantIdx as AsyncSerialize>::Future where
F: FormatSerialize,
W: AsyncWrite + Unpin,
pub fn serialize<F, W>(
&'w self,
format: &'w F,
writer: &'w mut W
) -> <VariantIdx as AsyncSerialize>::Future where
F: FormatSerialize,
W: AsyncWrite + Unpin,
Attempt to serialize the type asynchronously for the indicated format via the provided asynchronous writer. Read more
type Decoder = <F as FormatDecode>::DecodeVariantIdx
type Decoder = <F as FormatDecode>::DecodeVariantIdx
The concrete decoder to use for deserialization
Returns the “default value” for a type. Read more
Mutably dereferences the value.
type Encoder = <F as FormatEncode>::EncodeVariantIdx
type Encoder = <F as FormatEncode>::EncodeVariantIdx
The concrete encoder to use for serialization
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for VariantIdx
impl Send for VariantIdx
impl Sync for VariantIdx
impl Unpin for VariantIdx
impl UnwindSafe for VariantIdx
Blanket Implementations
Mutably borrows from an owned value. Read more