pub enum FieldAccess {
Read,
Write,
}Expand description
How a Dalvik field instruction uses its referenced field.
Variants§
Implementations§
Source§impl FieldAccess
impl FieldAccess
Sourcepub const fn from_opcode(opcode: u8) -> Option<FieldAccess>
pub const fn from_opcode(opcode: u8) -> Option<FieldAccess>
Classify a field opcode. Reads are iget* / sget*; writes are
iput* / sput*.
Trait Implementations§
Source§impl Clone for FieldAccess
impl Clone for FieldAccess
Source§fn clone(&self) -> FieldAccess
fn clone(&self) -> FieldAccess
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FieldAccess
Source§impl Debug for FieldAccess
impl Debug for FieldAccess
impl Eq for FieldAccess
Source§impl Hash for FieldAccess
impl Hash for FieldAccess
Source§impl Ord for FieldAccess
impl Ord for FieldAccess
Source§fn cmp(&self, other: &FieldAccess) -> Ordering
fn cmp(&self, other: &FieldAccess) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for FieldAccess
impl PartialEq for FieldAccess
Source§impl PartialOrd for FieldAccess
impl PartialOrd for FieldAccess
impl StructuralPartialEq for FieldAccess
Auto Trait Implementations§
impl Forget for FieldAccess
impl Freeze for FieldAccess
impl Move for FieldAccess
impl RefUnwindSafe for FieldAccess
impl Send for FieldAccess
impl Sync for FieldAccess
impl Unpin for FieldAccess
impl UnsafeUnpin for FieldAccess
impl UnwindSafe for FieldAccess
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