#[repr(transparent)]pub struct WGPUSamplerBindingType(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl WGPUSamplerBindingType
impl WGPUSamplerBindingType
pub const BindingNotUsed: Self = raw::WGPUSamplerBindingType_WGPUSamplerBindingType_BindingNotUsed
pub const Undefined: Self = raw::WGPUSamplerBindingType_WGPUSamplerBindingType_Undefined
pub const Filtering: Self = raw::WGPUSamplerBindingType_WGPUSamplerBindingType_Filtering
pub const NonFiltering: Self = raw::WGPUSamplerBindingType_WGPUSamplerBindingType_NonFiltering
pub const Comparison: Self = raw::WGPUSamplerBindingType_WGPUSamplerBindingType_Comparison
Trait Implementations§
Source§impl Clone for WGPUSamplerBindingType
impl Clone for WGPUSamplerBindingType
Source§fn clone(&self) -> WGPUSamplerBindingType
fn clone(&self) -> WGPUSamplerBindingType
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 WGPUSamplerBindingType
impl Debug for WGPUSamplerBindingType
§impl Default for WGPUSamplerBindingType
impl Default for WGPUSamplerBindingType
Source§impl Hash for WGPUSamplerBindingType
impl Hash for WGPUSamplerBindingType
Source§impl Ord for WGPUSamplerBindingType
impl Ord for WGPUSamplerBindingType
Source§fn cmp(&self, other: &WGPUSamplerBindingType) -> Ordering
fn cmp(&self, other: &WGPUSamplerBindingType) -> 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 WGPUSamplerBindingType
impl PartialEq for WGPUSamplerBindingType
Source§impl PartialOrd for WGPUSamplerBindingType
impl PartialOrd for WGPUSamplerBindingType
impl Copy for WGPUSamplerBindingType
impl Eq for WGPUSamplerBindingType
impl StructuralPartialEq for WGPUSamplerBindingType
Auto Trait Implementations§
impl Freeze for WGPUSamplerBindingType
impl RefUnwindSafe for WGPUSamplerBindingType
impl Send for WGPUSamplerBindingType
impl Sync for WGPUSamplerBindingType
impl Unpin for WGPUSamplerBindingType
impl UnwindSafe for WGPUSamplerBindingType
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