Enum wgpu_core::validation::NumericDimension
source · enum NumericDimension {
Scalar,
Vector(VectorSize),
Matrix(VectorSize, VectorSize),
}
Variants§
Implementations§
source§impl NumericDimension
impl NumericDimension
fn num_components(&self) -> u32
Trait Implementations§
source§impl Clone for NumericDimension
impl Clone for NumericDimension
source§fn clone(&self) -> NumericDimension
fn clone(&self) -> NumericDimension
Returns a copy 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 NumericDimension
impl Debug for NumericDimension
source§impl Display for NumericDimension
impl Display for NumericDimension
impl Copy for NumericDimension
Auto Trait Implementations§
impl Freeze for NumericDimension
impl RefUnwindSafe for NumericDimension
impl Send for NumericDimension
impl Sync for NumericDimension
impl Unpin for NumericDimension
impl UnwindSafe for NumericDimension
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