Enum x86::segmentation::DataSegmentType
source · [−]#[repr(u8)]
pub enum DataSegmentType {
ReadOnly,
ReadOnlyAccessed,
ReadWrite,
ReadWriteAccessed,
ReadExpand,
ReadExpandAccessed,
ReadWriteExpand,
ReadWriteExpandAccessed,
}
Expand description
Data Segment types for descriptors. See also Intel 3a, Table 3-1 Code- and Data-Segment Types.
Variants
ReadOnly
Data Read-Only
ReadOnlyAccessed
Data Read-Only, accessed
ReadWrite
Data Read/Write
ReadWriteAccessed
Data Read/Write, accessed
ReadExpand
Data Read-Only, expand-down
ReadExpandAccessed
Data Read-Only, expand-down, accessed
ReadWriteExpand
Data Read/Write, expand-down
ReadWriteExpandAccessed
Data Read/Write, expand-down, accessed
Trait Implementations
sourceimpl Clone for DataSegmentType
impl Clone for DataSegmentType
sourcefn clone(&self) -> DataSegmentType
fn clone(&self) -> DataSegmentType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DataSegmentType
impl Debug for DataSegmentType
sourceimpl PartialEq<DataSegmentType> for DataSegmentType
impl PartialEq<DataSegmentType> for DataSegmentType
impl Copy for DataSegmentType
impl Eq for DataSegmentType
impl StructuralEq for DataSegmentType
impl StructuralPartialEq for DataSegmentType
Auto Trait Implementations
impl RefUnwindSafe for DataSegmentType
impl Send for DataSegmentType
impl Sync for DataSegmentType
impl Unpin for DataSegmentType
impl UnwindSafe for DataSegmentType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more