Struct oaidl::UInt [−][src]
pub struct UInt(pub u32);
Helper type for the OLE/COM+ type UINT
Trait Implementations
impl SafeArrayElement for UInt
[src]
impl SafeArrayElement for UInt
const SFTYPE: u32
SFTYPE: u32 = VT_UINT
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 Debug for UInt
[src]
impl Debug for UInt
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 Clone for UInt
[src]
impl Clone for UInt
fn clone(&self) -> UInt
[src]
fn clone(&self) -> UInt
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 UInt
[src]
impl Copy for UInt
impl Eq for UInt
[src]
impl Eq for UInt
impl Hash for UInt
[src]
impl Hash for UInt
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 Ord for UInt
[src]
impl Ord for UInt
fn cmp(&self, other: &UInt) -> Ordering
[src]
fn cmp(&self, other: &UInt) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl PartialEq for UInt
[src]
impl PartialEq for UInt
fn eq(&self, other: &UInt) -> bool
[src]
fn eq(&self, other: &UInt) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &UInt) -> bool
[src]
fn ne(&self, other: &UInt) -> bool
This method tests for !=
.
impl PartialOrd for UInt
[src]
impl PartialOrd for UInt
fn partial_cmp(&self, other: &UInt) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &UInt) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &UInt) -> bool
[src]
fn lt(&self, other: &UInt) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &UInt) -> bool
[src]
fn le(&self, other: &UInt) -> 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: &UInt) -> bool
[src]
fn gt(&self, other: &UInt) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &UInt) -> bool
[src]
fn ge(&self, other: &UInt) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl AsRef<u32> for UInt
[src]
impl AsRef<u32> for UInt
impl VariantExt for UInt
[src]
impl VariantExt for UInt
const VARTYPE: u32
VARTYPE: u32 = VT_UINT
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