Struct rust_htslib::htslib::__BindgenBitfieldUnit
source · [−]#[repr(C)]pub struct __BindgenBitfieldUnit<Storage, Align> { /* private fields */ }
Implementations
sourceimpl<Storage, Align> __BindgenBitfieldUnit<Storage, Align>
impl<Storage, Align> __BindgenBitfieldUnit<Storage, Align>
pub const fn new(storage: Storage) -> __BindgenBitfieldUnit<Storage, Align>
Trait Implementations
sourceimpl<Storage, Align> Clone for __BindgenBitfieldUnit<Storage, Align>where
Storage: Clone,
Align: Clone,
impl<Storage, Align> Clone for __BindgenBitfieldUnit<Storage, Align>where
Storage: Clone,
Align: Clone,
sourcefn clone(&self) -> __BindgenBitfieldUnit<Storage, Align>
fn clone(&self) -> __BindgenBitfieldUnit<Storage, Align>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<Storage, Align> Debug for __BindgenBitfieldUnit<Storage, Align>where
Storage: Debug,
Align: Debug,
impl<Storage, Align> Debug for __BindgenBitfieldUnit<Storage, Align>where
Storage: Debug,
Align: Debug,
sourceimpl<Storage, Align> Default for __BindgenBitfieldUnit<Storage, Align>where
Storage: Default,
Align: Default,
impl<Storage, Align> Default for __BindgenBitfieldUnit<Storage, Align>where
Storage: Default,
Align: Default,
sourcefn default() -> __BindgenBitfieldUnit<Storage, Align>
fn default() -> __BindgenBitfieldUnit<Storage, Align>
Returns the “default value” for a type. Read more
sourceimpl<Storage, Align> Hash for __BindgenBitfieldUnit<Storage, Align>where
Storage: Hash,
Align: Hash,
impl<Storage, Align> Hash for __BindgenBitfieldUnit<Storage, Align>where
Storage: Hash,
Align: Hash,
sourceimpl<Storage, Align> Ord for __BindgenBitfieldUnit<Storage, Align>where
Storage: Ord,
Align: Ord,
impl<Storage, Align> Ord for __BindgenBitfieldUnit<Storage, Align>where
Storage: Ord,
Align: Ord,
sourcefn cmp(&self, other: &__BindgenBitfieldUnit<Storage, Align>) -> Ordering
fn cmp(&self, other: &__BindgenBitfieldUnit<Storage, Align>) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Self
const fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Self
const fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl<Storage, Align> PartialEq<__BindgenBitfieldUnit<Storage, Align>> for __BindgenBitfieldUnit<Storage, Align>where
Storage: PartialEq<Storage>,
Align: PartialEq<Align>,
impl<Storage, Align> PartialEq<__BindgenBitfieldUnit<Storage, Align>> for __BindgenBitfieldUnit<Storage, Align>where
Storage: PartialEq<Storage>,
Align: PartialEq<Align>,
sourcefn eq(&self, other: &__BindgenBitfieldUnit<Storage, Align>) -> bool
fn eq(&self, other: &__BindgenBitfieldUnit<Storage, Align>) -> bool
sourceimpl<Storage, Align> PartialOrd<__BindgenBitfieldUnit<Storage, Align>> for __BindgenBitfieldUnit<Storage, Align>where
Storage: PartialOrd<Storage>,
Align: PartialOrd<Align>,
impl<Storage, Align> PartialOrd<__BindgenBitfieldUnit<Storage, Align>> for __BindgenBitfieldUnit<Storage, Align>where
Storage: PartialOrd<Storage>,
Align: PartialOrd<Align>,
sourcefn partial_cmp(
&self,
other: &__BindgenBitfieldUnit<Storage, Align>
) -> Option<Ordering>
fn partial_cmp(
&self,
other: &__BindgenBitfieldUnit<Storage, Align>
) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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, Align> Copy for __BindgenBitfieldUnit<Storage, Align>where
Storage: Copy,
Align: Copy,
impl<Storage, Align> Eq for __BindgenBitfieldUnit<Storage, Align>where
Storage: Eq,
Align: Eq,
impl<Storage, Align> StructuralEq for __BindgenBitfieldUnit<Storage, Align>
impl<Storage, Align> StructuralPartialEq for __BindgenBitfieldUnit<Storage, Align>
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