Struct wgpu_core::validation::NumericType
source · pub struct NumericType {
dim: NumericDimension,
scalar: Scalar,
}
Fields§
§dim: NumericDimension
§scalar: Scalar
Implementations§
source§impl NumericType
impl NumericType
fn from_vertex_format(format: VertexFormat) -> Self
fn from_texture_format(format: TextureFormat) -> Self
fn is_subtype_of(&self, other: &NumericType) -> bool
fn is_compatible_with(&self, other: &NumericType) -> bool
Trait Implementations§
source§impl Clone for NumericType
impl Clone for NumericType
source§fn clone(&self) -> NumericType
fn clone(&self) -> NumericType
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 NumericType
impl Debug for NumericType
source§impl Display for NumericType
impl Display for NumericType
impl Copy for NumericType
Auto Trait Implementations§
impl Freeze for NumericType
impl RefUnwindSafe for NumericType
impl Send for NumericType
impl Sync for NumericType
impl Unpin for NumericType
impl UnwindSafe for NumericType
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