pub struct Int(_);
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
.