pub enum BitfieldOrder {
LowestFirst,
HighestFirst,
}Expand description
How a bit-field is allocated within its storage unit.
Variants§
LowestFirst
The first field declared gets the low order bits, which is every little-endian target here.
HighestFirst
The first field declared gets the high order bits, which is s390x and every other big-endian ELF target.
Trait Implementations§
Source§impl Clone for BitfieldOrder
impl Clone for BitfieldOrder
Source§fn clone(&self) -> BitfieldOrder
fn clone(&self) -> BitfieldOrder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BitfieldOrder
Source§impl Debug for BitfieldOrder
impl Debug for BitfieldOrder
impl Eq for BitfieldOrder
Source§impl PartialEq for BitfieldOrder
impl PartialEq for BitfieldOrder
impl StructuralPartialEq for BitfieldOrder
Auto Trait Implementations§
impl Freeze for BitfieldOrder
impl RefUnwindSafe for BitfieldOrder
impl Send for BitfieldOrder
impl Sync for BitfieldOrder
impl Unpin for BitfieldOrder
impl UnsafeUnpin for BitfieldOrder
impl UnwindSafe for BitfieldOrder
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