#[repr(u32)]pub enum WGPUTextureSampleType {
BindingNotUsed = 0,
Undefined = 1,
Float = 2,
UnfilterableFloat = 3,
Depth = 4,
Sint = 5,
Uint = 6,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WGPUTextureSampleType
impl Clone for WGPUTextureSampleType
Source§fn clone(&self) -> WGPUTextureSampleType
fn clone(&self) -> WGPUTextureSampleType
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 WGPUTextureSampleType
impl Debug for WGPUTextureSampleType
Source§impl Display for WGPUTextureSampleType
impl Display for WGPUTextureSampleType
Source§impl<'_derivative_strum> From<&'_derivative_strum WGPUTextureSampleType> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum WGPUTextureSampleType> for &'static str
Source§fn from(x: &'_derivative_strum WGPUTextureSampleType) -> &'static str
fn from(x: &'_derivative_strum WGPUTextureSampleType) -> &'static str
Converts to this type from the input type.
Source§impl From<WGPUTextureSampleType> for &'static str
impl From<WGPUTextureSampleType> for &'static str
Source§fn from(x: WGPUTextureSampleType) -> &'static str
fn from(x: WGPUTextureSampleType) -> &'static str
Converts to this type from the input type.
Source§impl FromStr for WGPUTextureSampleType
impl FromStr for WGPUTextureSampleType
Source§impl Hash for WGPUTextureSampleType
impl Hash for WGPUTextureSampleType
Source§impl PartialEq for WGPUTextureSampleType
impl PartialEq for WGPUTextureSampleType
Source§impl TryFrom<&str> for WGPUTextureSampleType
impl TryFrom<&str> for WGPUTextureSampleType
impl Copy for WGPUTextureSampleType
impl Eq for WGPUTextureSampleType
impl StructuralPartialEq for WGPUTextureSampleType
Auto Trait Implementations§
impl Freeze for WGPUTextureSampleType
impl RefUnwindSafe for WGPUTextureSampleType
impl Send for WGPUTextureSampleType
impl Sync for WGPUTextureSampleType
impl Unpin for WGPUTextureSampleType
impl UnwindSafe for WGPUTextureSampleType
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