pub struct BitFieldIndex(/* private fields */);
Expand description
An index type.
BitFieldIndex
is used to index an IndexedBitField
.
Represents the corresponding bit in a little-endian representation.
BitFieldIndex
is zero-indexed.
Implementations§
Source§impl BitFieldIndex
impl BitFieldIndex
Trait Implementations§
Source§impl Clone for BitFieldIndex
impl Clone for BitFieldIndex
Source§fn clone(&self) -> BitFieldIndex
fn clone(&self) -> BitFieldIndex
Returns a duplicate 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 BitFieldIndex
impl Debug for BitFieldIndex
Source§impl From<u8> for BitFieldIndex
impl From<u8> for BitFieldIndex
Source§impl Hash for BitFieldIndex
impl Hash for BitFieldIndex
Source§impl Ord for BitFieldIndex
impl Ord for BitFieldIndex
Source§fn cmp(&self, other: &BitFieldIndex) -> Ordering
fn cmp(&self, other: &BitFieldIndex) -> 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<BitFieldIndex> for BitFieldSize
impl PartialEq<BitFieldIndex> for BitFieldSize
Source§impl PartialEq<BitFieldSize> for BitFieldIndex
impl PartialEq<BitFieldSize> for BitFieldIndex
Source§impl PartialEq for BitFieldIndex
impl PartialEq for BitFieldIndex
Source§impl PartialOrd<BitFieldIndex> for BitFieldSize
impl PartialOrd<BitFieldIndex> for BitFieldSize
Source§impl PartialOrd<BitFieldSize> for BitFieldIndex
impl PartialOrd<BitFieldSize> for BitFieldIndex
Source§impl PartialOrd for BitFieldIndex
impl PartialOrd for BitFieldIndex
impl Copy for BitFieldIndex
impl Eq for BitFieldIndex
impl StructuralPartialEq for BitFieldIndex
Auto Trait Implementations§
impl Freeze for BitFieldIndex
impl RefUnwindSafe for BitFieldIndex
impl Send for BitFieldIndex
impl Sync for BitFieldIndex
impl Unpin for BitFieldIndex
impl UnwindSafe for BitFieldIndex
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