#[repr(C)]pub struct __BindgenBitfieldUnit<Storage> { /* private fields */ }
Implementations§
source§impl<Storage> __BindgenBitfieldUnit<Storage>
impl<Storage> __BindgenBitfieldUnit<Storage>
pub const fn new(storage: Storage) -> __BindgenBitfieldUnit<Storage>
source§impl<Storage> __BindgenBitfieldUnit<Storage>
impl<Storage> __BindgenBitfieldUnit<Storage>
Trait Implementations§
source§impl<Storage> Clone for __BindgenBitfieldUnit<Storage>where
Storage: Clone,
impl<Storage> Clone for __BindgenBitfieldUnit<Storage>where
Storage: Clone,
source§fn clone(&self) -> __BindgenBitfieldUnit<Storage>
fn clone(&self) -> __BindgenBitfieldUnit<Storage>
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> Debug for __BindgenBitfieldUnit<Storage>where
Storage: Debug,
impl<Storage> Debug for __BindgenBitfieldUnit<Storage>where
Storage: Debug,
source§impl<Storage> Default for __BindgenBitfieldUnit<Storage>where
Storage: Default,
impl<Storage> Default for __BindgenBitfieldUnit<Storage>where
Storage: Default,
source§fn default() -> __BindgenBitfieldUnit<Storage>
fn default() -> __BindgenBitfieldUnit<Storage>
Returns the “default value” for a type. Read more
source§impl<Storage> Hash for __BindgenBitfieldUnit<Storage>where
Storage: Hash,
impl<Storage> Hash for __BindgenBitfieldUnit<Storage>where
Storage: Hash,
source§impl<Storage> Ord for __BindgenBitfieldUnit<Storage>where
Storage: Ord,
impl<Storage> Ord for __BindgenBitfieldUnit<Storage>where
Storage: Ord,
source§fn cmp(&self, other: &__BindgenBitfieldUnit<Storage>) -> Ordering
fn cmp(&self, other: &__BindgenBitfieldUnit<Storage>) -> 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 for __BindgenBitfieldUnit<Storage>where
Storage: PartialEq,
impl<Storage> PartialEq for __BindgenBitfieldUnit<Storage>where
Storage: PartialEq,
source§fn eq(&self, other: &__BindgenBitfieldUnit<Storage>) -> bool
fn eq(&self, other: &__BindgenBitfieldUnit<Storage>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<Storage> PartialOrd for __BindgenBitfieldUnit<Storage>where
Storage: PartialOrd,
impl<Storage> PartialOrd for __BindgenBitfieldUnit<Storage>where
Storage: PartialOrd,
source§fn partial_cmp(
&self,
other: &__BindgenBitfieldUnit<Storage>
) -> Option<Ordering>
fn partial_cmp( &self, other: &__BindgenBitfieldUnit<Storage> ) -> Option<Ordering>
1.0.0 · source§fn 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 for __BindgenBitfieldUnit<Storage>where
Storage: Copy,
impl<Storage> Eq for __BindgenBitfieldUnit<Storage>where
Storage: Eq,
impl<Storage> StructuralPartialEq for __BindgenBitfieldUnit<Storage>
Auto Trait Implementations§
impl<Storage> RefUnwindSafe for __BindgenBitfieldUnit<Storage>where
Storage: RefUnwindSafe,
impl<Storage> Send for __BindgenBitfieldUnit<Storage>where
Storage: Send,
impl<Storage> Sync for __BindgenBitfieldUnit<Storage>where
Storage: Sync,
impl<Storage> Unpin for __BindgenBitfieldUnit<Storage>where
Storage: Unpin,
impl<Storage> UnwindSafe for __BindgenBitfieldUnit<Storage>where
Storage: 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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.