#[non_exhaustive]pub enum Modifier {
Show 33 variants
Static,
Uniform,
Extern,
Const,
Shared,
Volatile,
Groupshared,
Precise,
Inline,
RowMajor,
ColumnMajor,
Nointerpolation,
Linear,
Centroid,
Noperspective,
Sample,
In,
Out,
Inout,
Snorm,
Unorm,
Point,
Line,
Triangle,
LineAdj,
TriangleAdj,
Globallycoherent,
Reordercoherent,
Export,
Payload,
Vertices,
Indices,
Primitives,
}Expand description
A keyword before a declaration that changes its storage, layout or use.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Static
Uniform
Extern
Const
Volatile
Precise
Inline
RowMajor
ColumnMajor
Nointerpolation
Linear
Centroid
Noperspective
Sample
In
Out
Inout
Snorm
Unorm
Point
Line
Triangle
LineAdj
TriangleAdj
Globallycoherent
Reordercoherent
Export
Payload
Vertices
Indices
Primitives
Implementations§
Trait Implementations§
impl Copy for Modifier
impl Eq for Modifier
impl StructuralPartialEq for Modifier
Auto Trait Implementations§
impl Forget for Modifier
impl Freeze for Modifier
impl Move for Modifier
impl RefUnwindSafe for Modifier
impl Send for Modifier
impl Sync for Modifier
impl Unpin for Modifier
impl UnsafeUnpin for Modifier
impl UnwindSafe for Modifier
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