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