#[repr(u8)]pub enum SegmentAlignment {
Show 15 variants
Abs = 0,
RelByte = 1,
RelWord = 2,
RelPara = 3,
RelPage = 4,
RelDble = 5,
Rel4K = 6,
Group = 7,
Rel32Bytes = 8,
Rel64Bytes = 9,
RelQword = 10,
Rel128Bytes = 11,
Rel512Bytes = 12,
Rel1024Bytes = 13,
Rel2048Bytes = 14,
}
Variants§
Abs = 0
RelByte = 1
RelWord = 2
RelPara = 3
RelPage = 4
RelDble = 5
Rel4K = 6
Group = 7
Rel32Bytes = 8
Rel64Bytes = 9
RelQword = 10
Rel128Bytes = 11
Rel512Bytes = 12
Rel1024Bytes = 13
Rel2048Bytes = 14
Implementations§
Source§impl SegmentAlignment
impl SegmentAlignment
pub fn is_abs(&self) -> bool
pub fn is_rel_byte(&self) -> bool
pub fn is_rel_word(&self) -> bool
pub fn is_rel_para(&self) -> bool
pub fn is_rel_page(&self) -> bool
pub fn is_rel_dble(&self) -> bool
pub fn is_rel_4k(&self) -> bool
pub fn is_group(&self) -> bool
pub fn is_rel_32_bytes(&self) -> bool
pub fn is_rel_64_bytes(&self) -> bool
pub fn is_rel_qword(&self) -> bool
pub fn is_rel_128_bytes(&self) -> bool
pub fn is_rel_512_bytes(&self) -> bool
pub fn is_rel_1024_bytes(&self) -> bool
pub fn is_rel_2048_bytes(&self) -> bool
Trait Implementations§
Source§impl Clone for SegmentAlignment
impl Clone for SegmentAlignment
Source§fn clone(&self) -> SegmentAlignment
fn clone(&self) -> SegmentAlignment
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 SegmentAlignment
impl Debug for SegmentAlignment
Source§impl Hash for SegmentAlignment
impl Hash for SegmentAlignment
Source§impl Ord for SegmentAlignment
impl Ord for SegmentAlignment
Source§fn cmp(&self, other: &SegmentAlignment) -> Ordering
fn cmp(&self, other: &SegmentAlignment) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SegmentAlignment
impl PartialEq for SegmentAlignment
Source§impl PartialOrd for SegmentAlignment
impl PartialOrd for SegmentAlignment
impl Copy for SegmentAlignment
impl Eq for SegmentAlignment
impl StructuralPartialEq for SegmentAlignment
Auto Trait Implementations§
impl Freeze for SegmentAlignment
impl RefUnwindSafe for SegmentAlignment
impl Send for SegmentAlignment
impl Sync for SegmentAlignment
impl Unpin for SegmentAlignment
impl UnwindSafe for SegmentAlignment
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