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