Struct oaidl::Currency [−][src]
pub struct Currency(pub i64);
Helper type for the OLE/COM+ type CY
Trait Implementations
impl SafeArrayElement for Currency
[src]
impl SafeArrayElement for Currency
const SFTYPE: u32
SFTYPE: u32 = VT_CY
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 Clone for Currency
[src]
impl Clone for Currency
fn clone(&self) -> Currency
[src]
fn clone(&self) -> Currency
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 Currency
[src]
impl Copy for Currency
impl Debug for Currency
[src]
impl Debug for Currency
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 Eq for Currency
[src]
impl Eq for Currency
impl Hash for Currency
[src]
impl Hash for Currency
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialOrd for Currency
[src]
impl PartialOrd for Currency
fn partial_cmp(&self, other: &Currency) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Currency) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Currency) -> bool
[src]
fn lt(&self, other: &Currency) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Currency) -> bool
[src]
fn le(&self, other: &Currency) -> 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: &Currency) -> bool
[src]
fn gt(&self, other: &Currency) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Currency) -> bool
[src]
fn ge(&self, other: &Currency) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl PartialEq for Currency
[src]
impl PartialEq for Currency
fn eq(&self, other: &Currency) -> bool
[src]
fn eq(&self, other: &Currency) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Currency) -> bool
[src]
fn ne(&self, other: &Currency) -> bool
This method tests for !=
.
impl From<i64> for Currency
[src]
impl From<i64> for Currency
impl<'i> From<&'i i64> for Currency
[src]
impl<'i> From<&'i i64> for Currency
impl<'i> From<&'i mut i64> for Currency
[src]
impl<'i> From<&'i mut i64> for Currency
impl From<CY> for Currency
[src]
impl From<CY> for Currency
impl<'c> From<&'c CY> for Currency
[src]
impl<'c> From<&'c CY> for Currency
impl<'c> From<&'c mut CY> for Currency
[src]
impl<'c> From<&'c mut CY> for Currency
impl From<Currency> for CY
[src]
impl From<Currency> for CY
impl<'c> From<&'c Currency> for CY
[src]
impl<'c> From<&'c Currency> for CY
impl<'c> From<&'c mut Currency> for CY
[src]
impl<'c> From<&'c mut Currency> for CY
impl AsRef<i64> for Currency
[src]
impl AsRef<i64> for Currency
impl VariantExt for Currency
[src]
impl VariantExt for Currency
const VARTYPE: u32
VARTYPE: u32 = VT_CY
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