pub struct BranchAlwaysNear {
pub offset: u8,
}
Expand description
§27/xx Command
- ubyte offset Offset for computing branch target address.
Branch to the target address specified by offset.
If bit 0x80 of offset is 0, the target address computed as:
- address of offset + offset.
Otherwise, the target address computed as:
- address of offset - offset + 128.
Fields§
§offset: u8
Trait Implementations§
Source§impl Clone for BranchAlwaysNear
impl Clone for BranchAlwaysNear
Source§fn clone(&self) -> BranchAlwaysNear
fn clone(&self) -> BranchAlwaysNear
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 BranchAlwaysNear
impl Debug for BranchAlwaysNear
Source§impl Display for BranchAlwaysNear
impl Display for BranchAlwaysNear
Source§impl Opcode for BranchAlwaysNear
impl Opcode for BranchAlwaysNear
Source§impl PartialEq for BranchAlwaysNear
impl PartialEq for BranchAlwaysNear
impl Eq for BranchAlwaysNear
impl StructuralPartialEq for BranchAlwaysNear
Auto Trait Implementations§
impl Freeze for BranchAlwaysNear
impl RefUnwindSafe for BranchAlwaysNear
impl Send for BranchAlwaysNear
impl Sync for BranchAlwaysNear
impl Unpin for BranchAlwaysNear
impl UnwindSafe for BranchAlwaysNear
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