pub struct UsePoint {
pub instruction: Instruction,
pub operand_index: usize,
pub location: SourceLocation,
/* private fields */
}Expand description
Use point of a value
Fields§
§instruction: InstructionInstruction where the value is used
operand_index: usizeOperand index (0-based)
location: SourceLocationSource location
Implementations§
Source§impl UsePoint
impl UsePoint
Sourcepub fn is_store_data_operand(&self) -> bool
pub fn is_store_data_operand(&self) -> bool
Is this use point a store data operand?
Sourcepub fn is_store_address_operand(&self) -> bool
pub fn is_store_address_operand(&self) -> bool
Is this use point a store address operand?
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UsePoint
impl RefUnwindSafe for UsePoint
impl Send for UsePoint
impl Sync for UsePoint
impl Unpin for UsePoint
impl UnsafeUnpin for UsePoint
impl UnwindSafe for UsePoint
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