Struct llvm_ir::instruction::Fence
source · pub struct Fence {
pub atomicity: Atomicity,
pub debugloc: Option<DebugLoc>,
}
Expand description
Memory-ordering fence. See LLVM 14 docs on the ‘fence’ instruction
Fields§
§atomicity: Atomicity
§debugloc: Option<DebugLoc>
Trait Implementations§
source§impl From<Fence> for Instruction
impl From<Fence> for Instruction
source§fn from(inst: Fence) -> Instruction
fn from(inst: Fence) -> Instruction
Converts to this type from the input type.
source§impl HasDebugLoc for Fence
impl HasDebugLoc for Fence
source§impl PartialEq<Fence> for Fence
impl PartialEq<Fence> for Fence
source§impl TryFrom<Instruction> for Fence
impl TryFrom<Instruction> for Fence
impl StructuralPartialEq for Fence
Auto Trait Implementations§
impl RefUnwindSafe for Fence
impl Send for Fence
impl Sync for Fence
impl Unpin for Fence
impl UnwindSafe for Fence
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