[][src]Struct mcom::init::CoInit

pub struct 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]

type Output = CoInit

The resulting type after applying the | operator.

impl BitOr<CoInitFlag> for CoInit[src]

type Output = CoInit

The resulting type after applying the | operator.

impl BitOrAssign<CoInitFlag> for CoInit[src]

impl Clone for CoInit[src]

impl Copy for CoInit[src]

impl Eq for CoInit[src]

impl Hash for CoInit[src]

impl Ord for CoInit[src]

impl PartialEq<CoInit> for CoInit[src]

impl PartialOrd<CoInit> for CoInit[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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.