#[repr(u8)]pub enum LocationType {
Invalid = 0,
Register = 1,
Direct = 2,
Indirect = 3,
Constant = 4,
ConstIndex = 5,
}
Variants§
Invalid = 0
Invalid location
Register = 1
Value is in dwarf_regnum
Direct = 2
dwarf_regnum + offset_or_constant is the ptr to the value
Indirect = 3
Ptr to the value is at [dwarf_regnum + offset_or_constant]
Constant = 4
Value is in offset_or_constant
ConstIndex = 5
Value is Constants[offset_or_constant] Constants is an array that is part of the Stackmap.
Trait Implementations§
Source§impl Clone for LocationType
impl Clone for LocationType
Source§fn clone(&self) -> LocationType
fn clone(&self) -> LocationType
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 LocationType
impl Debug for LocationType
Source§impl Default for LocationType
By default, an Location is invalid.
impl Default for LocationType
By default, an Location is invalid.
Source§impl Hash for LocationType
impl Hash for LocationType
Source§impl PartialEq for LocationType
impl PartialEq for LocationType
Source§impl TryFrom<u8> for LocationType
impl TryFrom<u8> for LocationType
impl Copy for LocationType
impl Eq for LocationType
impl StructuralPartialEq for LocationType
Auto Trait Implementations§
impl Freeze for LocationType
impl RefUnwindSafe for LocationType
impl Send for LocationType
impl Sync for LocationType
impl Unpin for LocationType
impl UnwindSafe for LocationType
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