#[repr(transparent)]pub struct Stages(pub UInteger);Expand description
Pipeline stages for barrier operations (bitflags).
C++ equivalent: MTL::Stages
Tuple Fields§
§0: UIntegerImplementations§
Source§impl Stages
impl Stages
pub const VERTEX: Self
pub const FRAGMENT: Self
pub const TILE: Self
pub const OBJECT: Self
pub const MESH: Self
pub const RESOURCE_STATE: Self
pub const DISPATCH: Self
pub const BLIT: Self
pub const ACCELERATION_STRUCTURE: Self
pub const MACHINE_LEARNING: Self
pub const ALL: Self
Trait Implementations§
Source§impl BitOrAssign for Stages
impl BitOrAssign for Stages
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreimpl Copy for Stages
impl Eq for Stages
impl StructuralPartialEq for Stages
Auto Trait Implementations§
impl Freeze for Stages
impl RefUnwindSafe for Stages
impl Send for Stages
impl Sync for Stages
impl Unpin for Stages
impl UnwindSafe for Stages
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