#[repr(transparent)]pub struct FenceCreateFlags(_);Expand description
Implementations
sourceimpl FenceCreateFlags
impl FenceCreateFlags
pub const fn empty() -> FenceCreateFlags
pub const fn from_raw(x: u32) -> FenceCreateFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: FenceCreateFlags) -> bool
sourcepub const fn contains(self, other: FenceCreateFlags) -> bool
pub const fn contains(self, other: FenceCreateFlags) -> bool
Returns whether other is a subset of self
sourceimpl FenceCreateFlags
impl FenceCreateFlags
pub const SIGNALED: FenceCreateFlags = Self(1)
Trait Implementations
sourceimpl BitAnd<FenceCreateFlags> for FenceCreateFlags
impl BitAnd<FenceCreateFlags> for FenceCreateFlags
type Output = FenceCreateFlags
type Output = FenceCreateFlags
The resulting type after applying the & operator.
sourcefn bitand(self, rhs: FenceCreateFlags) -> FenceCreateFlags
fn bitand(self, rhs: FenceCreateFlags) -> FenceCreateFlags
Performs the & operation. Read more
sourceimpl BitAndAssign<FenceCreateFlags> for FenceCreateFlags
impl BitAndAssign<FenceCreateFlags> for FenceCreateFlags
sourcefn bitand_assign(&mut self, rhs: FenceCreateFlags)
fn bitand_assign(&mut self, rhs: FenceCreateFlags)
Performs the &= operation. Read more
sourceimpl BitOr<FenceCreateFlags> for FenceCreateFlags
impl BitOr<FenceCreateFlags> for FenceCreateFlags
type Output = FenceCreateFlags
type Output = FenceCreateFlags
The resulting type after applying the | operator.
sourcefn bitor(self, rhs: FenceCreateFlags) -> FenceCreateFlags
fn bitor(self, rhs: FenceCreateFlags) -> FenceCreateFlags
Performs the | operation. Read more
sourceimpl BitOrAssign<FenceCreateFlags> for FenceCreateFlags
impl BitOrAssign<FenceCreateFlags> for FenceCreateFlags
sourcefn bitor_assign(&mut self, rhs: FenceCreateFlags)
fn bitor_assign(&mut self, rhs: FenceCreateFlags)
Performs the |= operation. Read more
sourceimpl BitXor<FenceCreateFlags> for FenceCreateFlags
impl BitXor<FenceCreateFlags> for FenceCreateFlags
type Output = FenceCreateFlags
type Output = FenceCreateFlags
The resulting type after applying the ^ operator.
sourcefn bitxor(self, rhs: FenceCreateFlags) -> FenceCreateFlags
fn bitxor(self, rhs: FenceCreateFlags) -> FenceCreateFlags
Performs the ^ operation. Read more
sourceimpl BitXorAssign<FenceCreateFlags> for FenceCreateFlags
impl BitXorAssign<FenceCreateFlags> for FenceCreateFlags
sourcefn bitxor_assign(&mut self, rhs: FenceCreateFlags)
fn bitxor_assign(&mut self, rhs: FenceCreateFlags)
Performs the ^= operation. Read more
sourceimpl Clone for FenceCreateFlags
impl Clone for FenceCreateFlags
sourcefn clone(&self) -> FenceCreateFlags
fn clone(&self) -> FenceCreateFlags
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 more
sourceimpl Debug for FenceCreateFlags
impl Debug for FenceCreateFlags
sourceimpl Default for FenceCreateFlags
impl Default for FenceCreateFlags
sourcefn default() -> FenceCreateFlags
fn default() -> FenceCreateFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for FenceCreateFlags
impl Hash for FenceCreateFlags
sourceimpl Not for FenceCreateFlags
impl Not for FenceCreateFlags
type Output = FenceCreateFlags
type Output = FenceCreateFlags
The resulting type after applying the ! operator.
sourcefn not(self) -> FenceCreateFlags
fn not(self) -> FenceCreateFlags
Performs the unary ! operation. Read more
sourceimpl Ord for FenceCreateFlags
impl Ord for FenceCreateFlags
sourceimpl PartialEq<FenceCreateFlags> for FenceCreateFlags
impl PartialEq<FenceCreateFlags> for FenceCreateFlags
sourcefn eq(&self, other: &FenceCreateFlags) -> bool
fn eq(&self, other: &FenceCreateFlags) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &FenceCreateFlags) -> bool
fn ne(&self, other: &FenceCreateFlags) -> bool
This method tests for !=.
sourceimpl PartialOrd<FenceCreateFlags> for FenceCreateFlags
impl PartialOrd<FenceCreateFlags> for FenceCreateFlags
sourcefn partial_cmp(&self, other: &FenceCreateFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &FenceCreateFlags) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
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 more
impl Copy for FenceCreateFlags
impl Eq for FenceCreateFlags
impl StructuralEq for FenceCreateFlags
impl StructuralPartialEq for FenceCreateFlags
Auto Trait Implementations
impl RefUnwindSafe for FenceCreateFlags
impl Send for FenceCreateFlags
impl Sync for FenceCreateFlags
impl Unpin for FenceCreateFlags
impl UnwindSafe for FenceCreateFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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