Enum rustix::process::EndianMode
source · #[repr(u32)]pub enum EndianMode {
Big = 0,
Little = 1,
PowerPCLittle = 2,
}
Expand description
PR_ENDIAN_*
values for use with endian_mode
.
Variants§
Big = 0
Big endian mode.
Little = 1
True little endian mode.
PowerPCLittle = 2
PowerPC
pseudo little endian.
Trait Implementations§
source§impl Clone for EndianMode
impl Clone for EndianMode
source§fn clone(&self) -> EndianMode
fn clone(&self) -> EndianMode
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 EndianMode
impl Debug for EndianMode
source§impl PartialEq for EndianMode
impl PartialEq for EndianMode
source§impl TryFrom<u32> for EndianMode
impl TryFrom<u32> for EndianMode
impl Copy for EndianMode
impl Eq for EndianMode
impl StructuralPartialEq for EndianMode
Auto Trait Implementations§
impl Freeze for EndianMode
impl RefUnwindSafe for EndianMode
impl Send for EndianMode
impl Sync for EndianMode
impl Unpin for EndianMode
impl UnwindSafe for EndianMode
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
)