#[repr(transparent)]pub struct WGPUTextureSampleType(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl WGPUTextureSampleType
impl WGPUTextureSampleType
pub const BindingNotUsed: Self = raw::WGPUTextureSampleType_WGPUTextureSampleType_BindingNotUsed
pub const Undefined: Self = raw::WGPUTextureSampleType_WGPUTextureSampleType_Undefined
pub const Float: Self = raw::WGPUTextureSampleType_WGPUTextureSampleType_Float
pub const UnfilterableFloat: Self = raw::WGPUTextureSampleType_WGPUTextureSampleType_UnfilterableFloat
pub const Depth: Self = raw::WGPUTextureSampleType_WGPUTextureSampleType_Depth
pub const Sint: Self = raw::WGPUTextureSampleType_WGPUTextureSampleType_Sint
pub const Uint: Self = raw::WGPUTextureSampleType_WGPUTextureSampleType_Uint
Trait Implementations§
Source§impl Clone for WGPUTextureSampleType
impl Clone for WGPUTextureSampleType
Source§fn clone(&self) -> WGPUTextureSampleType
fn clone(&self) -> WGPUTextureSampleType
Returns a duplicate 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
§impl Default for WGPUTextureSampleType
impl Default for WGPUTextureSampleType
Source§impl Hash for WGPUTextureSampleType
impl Hash for WGPUTextureSampleType
Source§impl Ord for WGPUTextureSampleType
impl Ord for WGPUTextureSampleType
Source§fn cmp(&self, other: &WGPUTextureSampleType) -> Ordering
fn cmp(&self, other: &WGPUTextureSampleType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WGPUTextureSampleType
impl PartialEq for WGPUTextureSampleType
Source§impl PartialOrd for WGPUTextureSampleType
impl PartialOrd 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