pub struct OpAddr {
pub base_seg: u16,
pub offset: u64,
}
Expand description
Describes an address operand.
Fields§
§base_seg: u16
The ID of the base segment selector.
ES
= 0, CS
= 1, SS
= 2, DS
= 3, FS
= 4, GS
= 5.
offset: u64
Offset inside the segment.
Trait Implementations§
source§impl PartialEq for OpAddr
impl PartialEq for OpAddr
impl Copy for OpAddr
impl Eq for OpAddr
impl StructuralPartialEq for OpAddr
Auto Trait Implementations§
impl RefUnwindSafe for OpAddr
impl Send for OpAddr
impl Sync for OpAddr
impl Unpin for OpAddr
impl UnwindSafe for OpAddr
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