Struct llvm_ir::instruction::Store
source · [−]pub struct Store {
pub address: Operand,
pub value: Operand,
pub volatile: bool,
pub atomicity: Option<Atomicity>,
pub alignment: u32,
pub debugloc: Option<DebugLoc>,
}
Expand description
Store a value to memory. See LLVM 14 docs on the ‘store’ instruction
Fields
address: Operand
value: Operand
volatile: bool
atomicity: Option<Atomicity>
alignment: u32
debugloc: Option<DebugLoc>
Trait Implementations
sourceimpl From<Store> for Instruction
impl From<Store> for Instruction
sourcefn from(inst: Store) -> Instruction
fn from(inst: Store) -> Instruction
Converts to this type from the input type.
sourceimpl HasDebugLoc for Store
impl HasDebugLoc for Store
sourcefn get_debug_loc(&self) -> &Option<DebugLoc>
fn get_debug_loc(&self) -> &Option<DebugLoc>
Returns the DebugLoc
associated with the given Instruction
,
Terminator
, GlobalVariable
, or Function
; or None
if it doesn’t
have a DebugLoc
. Read more
sourceimpl PartialEq<Store> for Store
impl PartialEq<Store> for Store
sourceimpl TryFrom<Instruction> for Store
impl TryFrom<Instruction> for Store
impl StructuralPartialEq for Store
Auto Trait Implementations
impl RefUnwindSafe for Store
impl Send for Store
impl Sync for Store
impl Unpin for Store
impl UnwindSafe for Store
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