Struct oaidl::Date [−][src]
pub struct Date(pub f64);
Helper type for the OLE/COM+ type DATE
Trait Implementations
impl SafeArrayElement for Date
[src]
impl SafeArrayElement for Date
const SFTYPE: u32
SFTYPE: u32 = VT_DATE
This is the VT value used to create the SAFEARRAY
fn from_safearray(
psa: *mut SAFEARRAY,
ix: i32
) -> Result<Self, FromSafeArrElemError>
[src]
fn from_safearray(
psa: *mut SAFEARRAY,
ix: i32
) -> Result<Self, FromSafeArrElemError>
gets a type from the safearray at the specified index (default impls use SafeArrayGetElement)
fn into_safearray(
&mut self,
psa: *mut SAFEARRAY,
ix: i32
) -> Result<(), IntoSafeArrElemError>
[src]
fn into_safearray(
&mut self,
psa: *mut SAFEARRAY,
ix: i32
) -> Result<(), IntoSafeArrElemError>
puts a type into the safearray at the specified index (default impls use SafeArrayPutElement)
impl Debug for Date
[src]
impl Debug for Date
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Date
[src]
impl Clone for Date
fn clone(&self) -> Date
[src]
fn clone(&self) -> Date
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for Date
[src]
impl Copy for Date
impl PartialOrd for Date
[src]
impl PartialOrd for Date
fn partial_cmp(&self, other: &Date) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Date) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Date) -> bool
[src]
fn lt(&self, other: &Date) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Date) -> bool
[src]
fn le(&self, other: &Date) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Date) -> bool
[src]
fn gt(&self, other: &Date) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Date) -> bool
[src]
fn ge(&self, other: &Date) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl PartialEq for Date
[src]
impl PartialEq for Date
fn eq(&self, other: &Date) -> bool
[src]
fn eq(&self, other: &Date) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Date) -> bool
[src]
fn ne(&self, other: &Date) -> bool
This method tests for !=
.
impl From<DATE> for Date
[src]
impl From<DATE> for Date
impl<'f> From<&'f DATE> for Date
[src]
impl<'f> From<&'f DATE> for Date
impl<'f> From<&'f mut DATE> for Date
[src]
impl<'f> From<&'f mut DATE> for Date
impl From<Date> for DATE
[src]
impl From<Date> for DATE
impl<'f> From<&'f Date> for DATE
[src]
impl<'f> From<&'f Date> for DATE
impl<'f> From<&'f mut Date> for DATE
[src]
impl<'f> From<&'f mut Date> for DATE
impl AsRef<f64> for Date
[src]
impl AsRef<f64> for Date
impl VariantExt for Date
[src]
impl VariantExt for Date
const VARTYPE: u32
VARTYPE: u32 = VT_DATE
VARTYPE constant value for the type
fn from_variant(var: Ptr<VARIANT>) -> Result<Self, FromVariantError>
[src]
fn from_variant(var: Ptr<VARIANT>) -> Result<Self, FromVariantError>
Call this associated function on a Ptr to obtain a value T
fn into_variant(&mut self) -> Result<Ptr<VARIANT>, IntoVariantError>
[src]
fn into_variant(&mut self) -> Result<Ptr<VARIANT>, IntoVariantError>
Convert a value of type T into a Ptr