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