pub struct Date(/* private fields */);
Expand description
Helper type for the OLE/COM+ type DATE
Trait Implementations§
source§impl PartialEq<Date> for Date
impl PartialEq<Date> for Date
source§impl PartialOrd<Date> for Date
impl PartialOrd<Date> for Date
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<'c> TryConvert<&'c Date, IntoVariantError> for f64
impl<'c> TryConvert<&'c Date, IntoVariantError> for f64
source§fn try_convert(val: &'c Date) -> Result<Self, IntoVariantError>
fn try_convert(val: &'c Date) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl<'c> TryConvert<&'c f64, FromVariantError> for Date
impl<'c> TryConvert<&'c f64, FromVariantError> for Date
source§fn try_convert(val: &'c f64) -> Result<Self, FromVariantError>
fn try_convert(val: &'c f64) -> Result<Self, FromVariantError>
Does not return any errors.
source§impl<'c> TryConvert<&'c mut Date, IntoVariantError> for f64
impl<'c> TryConvert<&'c mut Date, IntoVariantError> for f64
source§fn try_convert(val: &'c mut Date) -> Result<Self, IntoVariantError>
fn try_convert(val: &'c mut Date) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl<'c> TryConvert<&'c mut f64, FromVariantError> for Date
impl<'c> TryConvert<&'c mut f64, FromVariantError> for Date
source§fn try_convert(val: &'c mut f64) -> Result<Self, FromVariantError>
fn try_convert(val: &'c mut f64) -> Result<Self, FromVariantError>
Does not return any errors.
source§impl TryConvert<*mut f64, FromVariantError> for Box<Date>
impl TryConvert<*mut f64, FromVariantError> for Box<Date>
source§fn try_convert(inner: *mut f64) -> Result<Self, FromVariantError>
fn try_convert(inner: *mut f64) -> Result<Self, FromVariantError>
Utility method which can fail.
source§impl TryConvert<Date, ElementError> for f64
impl TryConvert<Date, ElementError> for f64
source§fn try_convert(val: Date) -> Result<Self, ElementError>
fn try_convert(val: Date) -> Result<Self, ElementError>
Does not return any errors.
source§impl TryConvert<Date, IntoVariantError> for f64
impl TryConvert<Date, IntoVariantError> for f64
source§fn try_convert(val: Date) -> Result<Self, IntoVariantError>
fn try_convert(val: Date) -> Result<Self, IntoVariantError>
Does not return any errors.
source§impl TryConvert<Date, SafeArrayError> for f64
impl TryConvert<Date, SafeArrayError> for f64
source§fn try_convert(val: Date) -> Result<Self, SafeArrayError>
fn try_convert(val: Date) -> Result<Self, SafeArrayError>
Does not return any errors.
source§impl TryConvert<f64, ElementError> for Date
impl TryConvert<f64, ElementError> for Date
source§fn try_convert(val: f64) -> Result<Self, ElementError>
fn try_convert(val: f64) -> Result<Self, ElementError>
Does not return any errors.
source§impl TryConvert<f64, FromVariantError> for Date
impl TryConvert<f64, FromVariantError> for Date
source§fn try_convert(val: f64) -> Result<Self, FromVariantError>
fn try_convert(val: f64) -> Result<Self, FromVariantError>
Does not return any errors.
source§impl TryConvert<f64, SafeArrayError> for Date
impl TryConvert<f64, SafeArrayError> for Date
source§fn try_convert(val: f64) -> Result<Self, SafeArrayError>
fn try_convert(val: f64) -> Result<Self, SafeArrayError>
Does not return any errors.
impl Copy for Date
impl SafeArrayElement for Date
SafeArrayElement
impl for [‘Date’]: struct.Date.html. This allows it to be converted into SAFEARRAY with vt = VT_DATE
.
impl StructuralPartialEq for Date
Auto Trait Implementations§
impl RefUnwindSafe for Date
impl Send for Date
impl Sync for Date
impl Unpin for Date
impl UnwindSafe for Date
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>