pub struct ExternalSemaphoreFeatureFlagBits(/* private fields */);Expand description
Implementations§
Source§impl ExternalSemaphoreFeatureFlagBits
impl ExternalSemaphoreFeatureFlagBits
Sourcepub const EXPORTABLE: Self
pub const EXPORTABLE: Self
Bit 0.
Sourcepub const IMPORTABLE: Self
pub const IMPORTABLE: Self
Bit 1.
pub const fn empty() -> Self
pub const fn from_raw(value: u32) -> Self
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: Self) -> bool
pub const fn all() -> Self
Trait Implementations§
Source§impl BitAndAssign for ExternalSemaphoreFeatureFlagBits
impl BitAndAssign for ExternalSemaphoreFeatureFlagBits
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOrAssign for ExternalSemaphoreFeatureFlagBits
impl BitOrAssign for ExternalSemaphoreFeatureFlagBits
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXorAssign for ExternalSemaphoreFeatureFlagBits
impl BitXorAssign for ExternalSemaphoreFeatureFlagBits
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for ExternalSemaphoreFeatureFlagBits
impl Clone for ExternalSemaphoreFeatureFlagBits
Source§fn clone(&self) -> ExternalSemaphoreFeatureFlagBits
fn clone(&self) -> ExternalSemaphoreFeatureFlagBits
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 Default for ExternalSemaphoreFeatureFlagBits
impl Default for ExternalSemaphoreFeatureFlagBits
Source§fn default() -> ExternalSemaphoreFeatureFlagBits
fn default() -> ExternalSemaphoreFeatureFlagBits
Returns the “default value” for a type. Read more
Source§impl Ord for ExternalSemaphoreFeatureFlagBits
impl Ord for ExternalSemaphoreFeatureFlagBits
Source§fn cmp(&self, other: &ExternalSemaphoreFeatureFlagBits) -> Ordering
fn cmp(&self, other: &ExternalSemaphoreFeatureFlagBits) -> 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 for ExternalSemaphoreFeatureFlagBits
impl PartialEq for ExternalSemaphoreFeatureFlagBits
Source§fn eq(&self, other: &ExternalSemaphoreFeatureFlagBits) -> bool
fn eq(&self, other: &ExternalSemaphoreFeatureFlagBits) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ExternalSemaphoreFeatureFlagBits
impl PartialOrd for ExternalSemaphoreFeatureFlagBits
impl Copy for ExternalSemaphoreFeatureFlagBits
impl Eq for ExternalSemaphoreFeatureFlagBits
impl StructuralPartialEq for ExternalSemaphoreFeatureFlagBits
Auto Trait Implementations§
impl Freeze for ExternalSemaphoreFeatureFlagBits
impl RefUnwindSafe for ExternalSemaphoreFeatureFlagBits
impl Send for ExternalSemaphoreFeatureFlagBits
impl Sync for ExternalSemaphoreFeatureFlagBits
impl Unpin for ExternalSemaphoreFeatureFlagBits
impl UnsafeUnpin for ExternalSemaphoreFeatureFlagBits
impl UnwindSafe for ExternalSemaphoreFeatureFlagBits
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