#[repr(C)]pub struct BitfieldUnit<Storage, Align> { /* private fields */ }
Implementations§
Source§impl<Storage, Align> BitfieldUnit<Storage, Align>
impl<Storage, Align> BitfieldUnit<Storage, Align>
Source§impl<Storage, Align> BitfieldUnit<Storage, Align>
impl<Storage, Align> BitfieldUnit<Storage, Align>
Trait Implementations§
Source§impl<Storage: Clone, Align: Clone> Clone for BitfieldUnit<Storage, Align>
impl<Storage: Clone, Align: Clone> Clone for BitfieldUnit<Storage, Align>
Source§fn clone(&self) -> BitfieldUnit<Storage, Align>
fn clone(&self) -> BitfieldUnit<Storage, Align>
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<Storage: Default, Align: Default> Default for BitfieldUnit<Storage, Align>
impl<Storage: Default, Align: Default> Default for BitfieldUnit<Storage, Align>
Source§fn default() -> BitfieldUnit<Storage, Align>
fn default() -> BitfieldUnit<Storage, Align>
Returns the “default value” for a type. Read more
Source§impl<Storage: Ord, Align: Ord> Ord for BitfieldUnit<Storage, Align>
impl<Storage: Ord, Align: Ord> Ord for BitfieldUnit<Storage, Align>
Source§fn cmp(&self, other: &BitfieldUnit<Storage, Align>) -> Ordering
fn cmp(&self, other: &BitfieldUnit<Storage, Align>) -> 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<Storage: PartialEq, Align: PartialEq> PartialEq for BitfieldUnit<Storage, Align>
impl<Storage: PartialEq, Align: PartialEq> PartialEq for BitfieldUnit<Storage, Align>
Source§fn eq(&self, other: &BitfieldUnit<Storage, Align>) -> bool
fn eq(&self, other: &BitfieldUnit<Storage, Align>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl<Storage: PartialOrd, Align: PartialOrd> PartialOrd for BitfieldUnit<Storage, Align>
impl<Storage: PartialOrd, Align: PartialOrd> PartialOrd for BitfieldUnit<Storage, Align>
impl<Storage: Copy, Align: Copy> Copy for BitfieldUnit<Storage, Align>
impl<Storage: Eq, Align: Eq> Eq for BitfieldUnit<Storage, Align>
impl<Storage, Align> StructuralPartialEq for BitfieldUnit<Storage, Align>
Auto Trait Implementations§
impl<Storage, Align> Freeze for BitfieldUnit<Storage, Align>
impl<Storage, Align> RefUnwindSafe for BitfieldUnit<Storage, Align>where
Storage: RefUnwindSafe,
Align: RefUnwindSafe,
impl<Storage, Align> Send for BitfieldUnit<Storage, Align>
impl<Storage, Align> Sync for BitfieldUnit<Storage, Align>
impl<Storage, Align> Unpin for BitfieldUnit<Storage, Align>
impl<Storage, Align> UnwindSafe for BitfieldUnit<Storage, Align>where
Storage: UnwindSafe,
Align: UnwindSafe,
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