Struct x86defs::SegmentRegister
source · pub struct SegmentRegister {
pub base: u64,
pub limit: u32,
pub selector: u16,
pub attributes: SegmentAttributes,
}
Fields§
§base: u64
§limit: u32
§selector: u16
§attributes: SegmentAttributes
Trait Implementations§
source§impl<'a> Arbitrary<'a> for SegmentRegister
impl<'a> Arbitrary<'a> for SegmentRegister
source§fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read more§fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for SegmentRegister
impl Clone for SegmentRegister
source§fn clone(&self) -> SegmentRegister
fn clone(&self) -> SegmentRegister
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 SegmentRegister
impl Debug for SegmentRegister
source§impl PartialEq for SegmentRegister
impl PartialEq for SegmentRegister
impl Copy for SegmentRegister
impl StructuralPartialEq for SegmentRegister
Auto Trait Implementations§
impl Freeze for SegmentRegister
impl RefUnwindSafe for SegmentRegister
impl Send for SegmentRegister
impl Sync for SegmentRegister
impl Unpin for SegmentRegister
impl UnwindSafe for SegmentRegister
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)