Struct StaApartment
pub struct StaApartment(/* private fields */);Expand description
Keeps the calling thread’s COM single-threaded apartment initialized.
The apartment is uninitialized when this value is dropped. COM interface values created in the apartment must be dropped first.
ⓘ
fn require_send<T: Send>() {}
require_send::<windows_core::StaApartment>();Trait Implementations§
Auto Trait Implementations§
impl !Send for StaApartment
impl !Sync for StaApartment
impl Forget for StaApartment
impl Freeze for StaApartment
impl Move for StaApartment
impl RefUnwindSafe for StaApartment
impl Unpin for StaApartment
impl UnsafeUnpin for StaApartment
impl UnwindSafe for StaApartment
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