[−][src]Struct mcom::init::CoInit
[docs.microsoft.com] COM apartment type + associated flags for calling co_initialize_ex with.
Implementations
impl CoInit
[src]
pub fn init(self) -> Result<bool, MethodHResult>
[src]
See co_initialize_ex (this is just shorthand)
pub const APARTMENT_THREADED: CoInit
[src]
Initializes the thread for apartment-threaded object concurrency.
pub const MULTI_THREADED: CoInit
[src]
Initializes the thread for multithreaded object concurrency.
pub const DISABLE_OLE1DDE: CoInitFlag
[src]
Disables DDE for OLE1 support.
pub const SPEED_OVER_MEMORY: CoInitFlag
[src]
Increase memory usage in an attempt to increase performance.
Trait Implementations
impl BitOr<CoInit> for CoInitFlag
[src]
pub fn bitor(self, rhs: CoInit) -> Self::Output
[src]
type Output = CoInit
The resulting type after applying the |
operator.
impl BitOr<CoInitFlag> for CoInit
[src]
pub fn bitor(self, rhs: CoInitFlag) -> Self::Output
[src]
type Output = CoInit
The resulting type after applying the |
operator.
impl BitOrAssign<CoInitFlag> for CoInit
[src]
pub fn bitor_assign(&mut self, rhs: CoInitFlag)
[src]
impl Clone for CoInit
[src]
impl Copy for CoInit
[src]
impl Eq for CoInit
[src]
impl Hash for CoInit
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for CoInit
[src]
pub fn cmp(&self, other: &CoInit) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<CoInit> for CoInit
[src]
impl PartialOrd<CoInit> for CoInit
[src]
pub fn partial_cmp(&self, other: &CoInit) -> Option<Ordering>
[src]
pub fn lt(&self, other: &CoInit) -> bool
[src]
pub fn le(&self, other: &CoInit) -> bool
[src]
pub fn gt(&self, other: &CoInit) -> bool
[src]
pub fn ge(&self, other: &CoInit) -> bool
[src]
impl StructuralEq for CoInit
[src]
impl StructuralPartialEq for CoInit
[src]
Auto Trait Implementations
impl RefUnwindSafe for CoInit
impl Send for CoInit
impl Sync for CoInit
impl Unpin for CoInit
impl UnwindSafe for CoInit
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,