pub struct VtNull;
Expand description
Helper type for VT_NULL variants
Trait Implementations§
source§impl Ord for VtNull
impl Ord for VtNull
source§impl PartialEq<VtNull> for VtNull
impl PartialEq<VtNull> for VtNull
source§impl PartialOrd<VtNull> for VtNull
impl PartialOrd<VtNull> for VtNull
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 VtNull
impl TryConvert<(), FromVariantError> for VtNull
source§fn try_convert(_e: ()) -> Result<Self, FromVariantError>
fn try_convert(_e: ()) -> Result<Self, FromVariantError>
Utility method which can fail.
source§impl TryConvert<VtNull, IntoVariantError> for ()
impl TryConvert<VtNull, IntoVariantError> for ()
source§fn try_convert(_e: VtNull) -> Result<Self, IntoVariantError>
fn try_convert(_e: VtNull) -> Result<Self, IntoVariantError>
Utility method which can fail.
impl Copy for VtNull
impl Eq for VtNull
impl StructuralEq for VtNull
impl StructuralPartialEq for VtNull
Auto Trait Implementations§
impl RefUnwindSafe for VtNull
impl Send for VtNull
impl Sync for VtNull
impl Unpin for VtNull
impl UnwindSafe for VtNull
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>