pub struct VtEmpty;
Expand description
Helper type for VT_EMPTY variants
Trait Implementations§
source§impl Ord for VtEmpty
impl Ord for VtEmpty
source§impl PartialEq<VtEmpty> for VtEmpty
impl PartialEq<VtEmpty> for VtEmpty
source§impl PartialOrd<VtEmpty> for VtEmpty
impl PartialOrd<VtEmpty> for VtEmpty
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryConvert<(), FromVariantError> for VtEmpty
impl TryConvert<(), FromVariantError> for VtEmpty
source§fn try_convert(_e: ()) -> Result<Self, FromVariantError>
fn try_convert(_e: ()) -> Result<Self, FromVariantError>
Utility method which can fail.
source§impl TryConvert<VtEmpty, IntoVariantError> for ()
impl TryConvert<VtEmpty, IntoVariantError> for ()
source§fn try_convert(_e: VtEmpty) -> Result<Self, IntoVariantError>
fn try_convert(_e: VtEmpty) -> Result<Self, IntoVariantError>
Utility method which can fail.
impl Copy for VtEmpty
impl Eq for VtEmpty
impl StructuralEq for VtEmpty
impl StructuralPartialEq for VtEmpty
Auto Trait Implementations§
impl RefUnwindSafe for VtEmpty
impl Send for VtEmpty
impl Sync for VtEmpty
impl Unpin for VtEmpty
impl UnwindSafe for VtEmpty
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, F> TryConvert<T, F> for Twhere
T: From<T>,
F: Fail,
impl<T, F> TryConvert<T, F> for Twhere T: From<T>, F: Fail,
source§fn try_convert(val: T) -> Result<T, F>
fn try_convert(val: T) -> Result<T, F>
Blanket TryConvert implementation wherever a From
source§impl<OutTy, InTy> VariantExt<InTy> for OutTywhere
OutTy: TryConvert<InTy, FromVariantError> + VariantAccess<Field = InTy>,
InTy: TryConvert<OutTy, IntoVariantError>,
impl<OutTy, InTy> VariantExt<InTy> for OutTywhere OutTy: TryConvert<InTy, FromVariantError> + VariantAccess<Field = InTy>, InTy: TryConvert<OutTy, IntoVariantError>,
source§fn from_variant(pvar: Ptr<VARIANT>) -> Result<OutTy, FromVariantError>
fn from_variant(pvar: Ptr<VARIANT>) -> Result<OutTy, FromVariantError>
Call this associated function on a
Ptr<VARIANT>
to obtain a value T
source§fn into_variant(value: OutTy) -> Result<Ptr<VARIANT>, IntoVariantError>
fn into_variant(value: OutTy) -> Result<Ptr<VARIANT>, IntoVariantError>
Convert a value of type
T
into a Ptr<VARIANT>