Enum llvm_sys::LLVMThreadLocalMode
source · #[repr(C)]pub enum LLVMThreadLocalMode {
LLVMNotThreadLocal = 0,
LLVMGeneralDynamicTLSModel = 1,
LLVMLocalDynamicTLSModel = 2,
LLVMInitialExecTLSModel = 3,
LLVMLocalExecTLSModel = 4,
}
Variants§
LLVMNotThreadLocal = 0
LLVMGeneralDynamicTLSModel = 1
LLVMLocalDynamicTLSModel = 2
LLVMInitialExecTLSModel = 3
LLVMLocalExecTLSModel = 4
Trait Implementations§
source§impl Clone for LLVMThreadLocalMode
impl Clone for LLVMThreadLocalMode
source§fn clone(&self) -> LLVMThreadLocalMode
fn clone(&self) -> LLVMThreadLocalMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LLVMThreadLocalMode
impl Debug for LLVMThreadLocalMode
source§impl PartialEq for LLVMThreadLocalMode
impl PartialEq for LLVMThreadLocalMode
source§fn eq(&self, other: &LLVMThreadLocalMode) -> bool
fn eq(&self, other: &LLVMThreadLocalMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LLVMThreadLocalMode
impl StructuralPartialEq for LLVMThreadLocalMode
Auto Trait Implementations§
impl Freeze for LLVMThreadLocalMode
impl RefUnwindSafe for LLVMThreadLocalMode
impl Send for LLVMThreadLocalMode
impl Sync for LLVMThreadLocalMode
impl Unpin for LLVMThreadLocalMode
impl UnwindSafe for LLVMThreadLocalMode
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