pub struct ExternalSemaphoreFeatureFlagBits(/* private fields */);Expand description
Implementations§
Source§impl ExternalSemaphoreFeatureFlagBits
impl ExternalSemaphoreFeatureFlagBits
Sourcepub const EXPORTABLE: ExternalSemaphoreFeatureFlagBits
pub const EXPORTABLE: ExternalSemaphoreFeatureFlagBits
Bit 0.
Sourcepub const IMPORTABLE: ExternalSemaphoreFeatureFlagBits
pub const IMPORTABLE: ExternalSemaphoreFeatureFlagBits
Bit 1.
pub const fn empty() -> ExternalSemaphoreFeatureFlagBits
pub const fn from_raw(value: u32) -> ExternalSemaphoreFeatureFlagBits
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: ExternalSemaphoreFeatureFlagBits) -> bool
pub const fn all() -> ExternalSemaphoreFeatureFlagBits
Trait Implementations§
Source§impl BitAnd for ExternalSemaphoreFeatureFlagBits
impl BitAnd for ExternalSemaphoreFeatureFlagBits
Source§type Output = ExternalSemaphoreFeatureFlagBits
type Output = ExternalSemaphoreFeatureFlagBits
The resulting type after applying the
& operator.Source§fn bitand(
self,
rhs: ExternalSemaphoreFeatureFlagBits,
) -> ExternalSemaphoreFeatureFlagBits
fn bitand( self, rhs: ExternalSemaphoreFeatureFlagBits, ) -> ExternalSemaphoreFeatureFlagBits
Performs the
& operation. Read moreSource§impl BitAndAssign for ExternalSemaphoreFeatureFlagBits
impl BitAndAssign for ExternalSemaphoreFeatureFlagBits
Source§fn bitand_assign(&mut self, rhs: ExternalSemaphoreFeatureFlagBits)
fn bitand_assign(&mut self, rhs: ExternalSemaphoreFeatureFlagBits)
Performs the
&= operation. Read moreSource§impl BitOr for ExternalSemaphoreFeatureFlagBits
impl BitOr for ExternalSemaphoreFeatureFlagBits
Source§type Output = ExternalSemaphoreFeatureFlagBits
type Output = ExternalSemaphoreFeatureFlagBits
The resulting type after applying the
| operator.Source§fn bitor(
self,
rhs: ExternalSemaphoreFeatureFlagBits,
) -> ExternalSemaphoreFeatureFlagBits
fn bitor( self, rhs: ExternalSemaphoreFeatureFlagBits, ) -> ExternalSemaphoreFeatureFlagBits
Performs the
| operation. Read moreSource§impl BitOrAssign for ExternalSemaphoreFeatureFlagBits
impl BitOrAssign for ExternalSemaphoreFeatureFlagBits
Source§fn bitor_assign(&mut self, rhs: ExternalSemaphoreFeatureFlagBits)
fn bitor_assign(&mut self, rhs: ExternalSemaphoreFeatureFlagBits)
Performs the
|= operation. Read moreSource§impl BitXor for ExternalSemaphoreFeatureFlagBits
impl BitXor for ExternalSemaphoreFeatureFlagBits
Source§type Output = ExternalSemaphoreFeatureFlagBits
type Output = ExternalSemaphoreFeatureFlagBits
The resulting type after applying the
^ operator.Source§fn bitxor(
self,
rhs: ExternalSemaphoreFeatureFlagBits,
) -> ExternalSemaphoreFeatureFlagBits
fn bitxor( self, rhs: ExternalSemaphoreFeatureFlagBits, ) -> ExternalSemaphoreFeatureFlagBits
Performs the
^ operation. Read moreSource§impl BitXorAssign for ExternalSemaphoreFeatureFlagBits
impl BitXorAssign for ExternalSemaphoreFeatureFlagBits
Source§fn bitxor_assign(&mut self, rhs: ExternalSemaphoreFeatureFlagBits)
fn bitxor_assign(&mut self, rhs: ExternalSemaphoreFeatureFlagBits)
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 Not for ExternalSemaphoreFeatureFlagBits
impl Not for ExternalSemaphoreFeatureFlagBits
Source§type Output = ExternalSemaphoreFeatureFlagBits
type Output = ExternalSemaphoreFeatureFlagBits
The resulting type after applying the
! operator.Source§fn not(self) -> ExternalSemaphoreFeatureFlagBits
fn not(self) -> ExternalSemaphoreFeatureFlagBits
Performs the unary
! operation. Read moreSource§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