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