#[repr(transparent)]pub struct WGPUBufferBindingType(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl WGPUBufferBindingType
impl WGPUBufferBindingType
pub const BindingNotUsed: Self = raw::WGPUBufferBindingType_WGPUBufferBindingType_BindingNotUsed
pub const Undefined: Self = raw::WGPUBufferBindingType_WGPUBufferBindingType_Undefined
pub const Uniform: Self = raw::WGPUBufferBindingType_WGPUBufferBindingType_Uniform
pub const Storage: Self = raw::WGPUBufferBindingType_WGPUBufferBindingType_Storage
pub const ReadOnlyStorage: Self = raw::WGPUBufferBindingType_WGPUBufferBindingType_ReadOnlyStorage
Trait Implementations§
Source§impl Clone for WGPUBufferBindingType
impl Clone for WGPUBufferBindingType
Source§fn clone(&self) -> WGPUBufferBindingType
fn clone(&self) -> WGPUBufferBindingType
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 WGPUBufferBindingType
impl Debug for WGPUBufferBindingType
§impl Default for WGPUBufferBindingType
impl Default for WGPUBufferBindingType
Source§impl Hash for WGPUBufferBindingType
impl Hash for WGPUBufferBindingType
Source§impl Ord for WGPUBufferBindingType
impl Ord for WGPUBufferBindingType
Source§fn cmp(&self, other: &WGPUBufferBindingType) -> Ordering
fn cmp(&self, other: &WGPUBufferBindingType) -> 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 WGPUBufferBindingType
impl PartialEq for WGPUBufferBindingType
Source§impl PartialOrd for WGPUBufferBindingType
impl PartialOrd for WGPUBufferBindingType
impl Copy for WGPUBufferBindingType
impl Eq for WGPUBufferBindingType
impl StructuralPartialEq for WGPUBufferBindingType
Auto Trait Implementations§
impl Freeze for WGPUBufferBindingType
impl RefUnwindSafe for WGPUBufferBindingType
impl Send for WGPUBufferBindingType
impl Sync for WGPUBufferBindingType
impl Unpin for WGPUBufferBindingType
impl UnwindSafe for WGPUBufferBindingType
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