pub enum FenceKind {
MFence,
LFence,
SFence,
}
Available on crate feature
x86
only.Expand description
An x64 memory fence kind.
Variants§
MFence
mfence
instruction (“Memory Fence”)
LFence
lfence
instruction (“Load Fence”)
SFence
sfence
instruction (“Store Fence”)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FenceKind
impl RefUnwindSafe for FenceKind
impl Send for FenceKind
impl Sync for FenceKind
impl Unpin for FenceKind
impl UnwindSafe for FenceKind
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