#[repr(u8)]pub enum DataSegmentType {
ReadOnly = 0,
ReadOnlyAccessed = 1,
ReadWrite = 2,
ReadWriteAccessed = 3,
ReadExpand = 4,
ReadExpandAccessed = 5,
ReadWriteExpand = 6,
ReadWriteExpandAccessed = 7,
}
Expand description
Data Segment types for descriptors. See also Intel 3a, Table 3-1 Code- and Data-Segment Types.
Variants§
ReadOnly = 0
Data Read-Only
ReadOnlyAccessed = 1
Data Read-Only, accessed
ReadWrite = 2
Data Read/Write
ReadWriteAccessed = 3
Data Read/Write, accessed
ReadExpand = 4
Data Read-Only, expand-down
ReadExpandAccessed = 5
Data Read-Only, expand-down, accessed
ReadWriteExpand = 6
Data Read/Write, expand-down
ReadWriteExpandAccessed = 7
Data Read/Write, expand-down, accessed
Trait Implementations§
Source§impl Clone for DataSegmentType
impl Clone for DataSegmentType
Source§fn clone(&self) -> DataSegmentType
fn clone(&self) -> DataSegmentType
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 DataSegmentType
impl Debug for DataSegmentType
Source§impl PartialEq for DataSegmentType
impl PartialEq for DataSegmentType
impl Copy for DataSegmentType
impl Eq for DataSegmentType
impl StructuralPartialEq for DataSegmentType
Auto Trait Implementations§
impl Freeze for DataSegmentType
impl RefUnwindSafe for DataSegmentType
impl Send for DataSegmentType
impl Sync for DataSegmentType
impl Unpin for DataSegmentType
impl UnwindSafe for DataSegmentType
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