Struct libdevmapper_sys::__BindgenBitfieldUnit
source · #[repr(C)]pub struct __BindgenBitfieldUnit<Storage, Align>where
Storage: AsRef<[u8]> + AsMut<[u8]>,{ /* private fields */ }
Implementations
Trait Implementations
sourceimpl<Storage: Clone, Align: Clone> Clone for __BindgenBitfieldUnit<Storage, Align>where
Storage: AsRef<[u8]> + AsMut<[u8]>,
impl<Storage: Clone, Align: Clone> Clone for __BindgenBitfieldUnit<Storage, Align>where
Storage: AsRef<[u8]> + AsMut<[u8]>,
sourcefn clone(&self) -> __BindgenBitfieldUnit<Storage, Align>
fn clone(&self) -> __BindgenBitfieldUnit<Storage, Align>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<Storage: Debug, Align: Debug> Debug for __BindgenBitfieldUnit<Storage, Align>where
Storage: AsRef<[u8]> + AsMut<[u8]>,
impl<Storage: Debug, Align: Debug> Debug for __BindgenBitfieldUnit<Storage, Align>where
Storage: AsRef<[u8]> + AsMut<[u8]>,
sourceimpl<Storage: Default, Align: Default> Default for __BindgenBitfieldUnit<Storage, Align>where
Storage: AsRef<[u8]> + AsMut<[u8]>,
impl<Storage: Default, Align: Default> Default for __BindgenBitfieldUnit<Storage, Align>where
Storage: AsRef<[u8]> + AsMut<[u8]>,
sourcefn default() -> __BindgenBitfieldUnit<Storage, Align>
fn default() -> __BindgenBitfieldUnit<Storage, Align>
Returns the “default value” for a type. Read more
sourceimpl<Storage: Hash, Align: Hash> Hash for __BindgenBitfieldUnit<Storage, Align>where
Storage: AsRef<[u8]> + AsMut<[u8]>,
impl<Storage: Hash, Align: Hash> Hash for __BindgenBitfieldUnit<Storage, Align>where
Storage: AsRef<[u8]> + AsMut<[u8]>,
sourceimpl<Storage: Ord, Align: Ord> Ord for __BindgenBitfieldUnit<Storage, Align>where
Storage: AsRef<[u8]> + AsMut<[u8]>,
impl<Storage: Ord, Align: Ord> Ord for __BindgenBitfieldUnit<Storage, Align>where
Storage: AsRef<[u8]> + AsMut<[u8]>,
sourcefn cmp(&self, other: &__BindgenBitfieldUnit<Storage, Align>) -> Ordering
fn cmp(&self, other: &__BindgenBitfieldUnit<Storage, Align>) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl<Storage: PartialEq, Align: PartialEq> PartialEq<__BindgenBitfieldUnit<Storage, Align>> for __BindgenBitfieldUnit<Storage, Align>where
Storage: AsRef<[u8]> + AsMut<[u8]>,
impl<Storage: PartialEq, Align: PartialEq> PartialEq<__BindgenBitfieldUnit<Storage, Align>> for __BindgenBitfieldUnit<Storage, Align>where
Storage: AsRef<[u8]> + AsMut<[u8]>,
sourcefn eq(&self, other: &__BindgenBitfieldUnit<Storage, Align>) -> bool
fn eq(&self, other: &__BindgenBitfieldUnit<Storage, Align>) -> bool
sourceimpl<Storage: PartialOrd, Align: PartialOrd> PartialOrd<__BindgenBitfieldUnit<Storage, Align>> for __BindgenBitfieldUnit<Storage, Align>where
Storage: AsRef<[u8]> + AsMut<[u8]>,
impl<Storage: PartialOrd, Align: PartialOrd> PartialOrd<__BindgenBitfieldUnit<Storage, Align>> for __BindgenBitfieldUnit<Storage, Align>where
Storage: AsRef<[u8]> + AsMut<[u8]>,
sourcefn partial_cmp(
&self,
other: &__BindgenBitfieldUnit<Storage, Align>
) -> Option<Ordering>
fn partial_cmp(
&self,
other: &__BindgenBitfieldUnit<Storage, Align>
) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<Storage: Copy, Align: Copy> Copy for __BindgenBitfieldUnit<Storage, Align>where
Storage: AsRef<[u8]> + AsMut<[u8]>,
impl<Storage: Eq, Align: Eq> Eq for __BindgenBitfieldUnit<Storage, Align>where
Storage: AsRef<[u8]> + AsMut<[u8]>,
impl<Storage, Align> StructuralEq for __BindgenBitfieldUnit<Storage, Align>where
Storage: AsRef<[u8]> + AsMut<[u8]>,
impl<Storage, Align> StructuralPartialEq for __BindgenBitfieldUnit<Storage, Align>where
Storage: AsRef<[u8]> + AsMut<[u8]>,
Auto Trait Implementations
impl<Storage, Align> RefUnwindSafe for __BindgenBitfieldUnit<Storage, Align>where
Align: RefUnwindSafe,
Storage: RefUnwindSafe,
impl<Storage, Align> Send for __BindgenBitfieldUnit<Storage, Align>where
Align: Send,
Storage: Send,
impl<Storage, Align> Sync for __BindgenBitfieldUnit<Storage, Align>where
Align: Sync,
Storage: Sync,
impl<Storage, Align> Unpin for __BindgenBitfieldUnit<Storage, Align>where
Align: Unpin,
Storage: Unpin,
impl<Storage, Align> UnwindSafe for __BindgenBitfieldUnit<Storage, Align>where
Align: UnwindSafe,
Storage: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more