#[repr(transparent)]pub struct BarrierScope(pub UInteger);Expand description
Barrier scope for command encoders (bitflags).
C++ equivalent: MTL::BarrierScope
Tuple Fields§
§0: UIntegerImplementations§
Source§impl BarrierScope
impl BarrierScope
Trait Implementations§
Source§impl BitAnd for BarrierScope
impl BitAnd for BarrierScope
Source§impl BitOr for BarrierScope
impl BitOr for BarrierScope
Source§impl BitOrAssign for BarrierScope
impl BitOrAssign for BarrierScope
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for BarrierScope
impl Clone for BarrierScope
Source§fn clone(&self) -> BarrierScope
fn clone(&self) -> BarrierScope
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 Debug for BarrierScope
impl Debug for BarrierScope
Source§impl Default for BarrierScope
impl Default for BarrierScope
Source§fn default() -> BarrierScope
fn default() -> BarrierScope
Returns the “default value” for a type. Read more
Source§impl Hash for BarrierScope
impl Hash for BarrierScope
Source§impl PartialEq for BarrierScope
impl PartialEq for BarrierScope
impl Copy for BarrierScope
impl Eq for BarrierScope
impl StructuralPartialEq for BarrierScope
Auto Trait Implementations§
impl Freeze for BarrierScope
impl RefUnwindSafe for BarrierScope
impl Send for BarrierScope
impl Sync for BarrierScope
impl Unpin for BarrierScope
impl UnwindSafe for BarrierScope
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