Struct windows_sys::Foundation::Metadata::ThreadingModel
[−]#[repr(transparent)]pub struct ThreadingModel(pub i32);
Expand description
Required features: "Foundation_Metadata"
Tuple Fields
0: i32
Implementations
impl ThreadingModel
impl ThreadingModel
pub const STA: Self = Self(1i32)
pub const MTA: Self = Self(2i32)
pub const Both: Self = Self(3i32)
pub const InvalidThreading: Self = Self(0i32)
Trait Implementations
impl Clone for ThreadingModel
impl Clone for ThreadingModel
impl Copy for ThreadingModel
Auto Trait Implementations
impl RefUnwindSafe for ThreadingModel
impl Send for ThreadingModel
impl Sync for ThreadingModel
impl Unpin for ThreadingModel
impl UnwindSafe for ThreadingModel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more