#[repr(transparent)]pub struct WGPUAddressMode(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl WGPUAddressMode
impl WGPUAddressMode
pub const Undefined: Self = raw::WGPUAddressMode_WGPUAddressMode_Undefined
pub const ClampToEdge: Self = raw::WGPUAddressMode_WGPUAddressMode_ClampToEdge
pub const Repeat: Self = raw::WGPUAddressMode_WGPUAddressMode_Repeat
pub const MirrorRepeat: Self = raw::WGPUAddressMode_WGPUAddressMode_MirrorRepeat
Trait Implementations§
Source§impl Clone for WGPUAddressMode
impl Clone for WGPUAddressMode
Source§fn clone(&self) -> WGPUAddressMode
fn clone(&self) -> WGPUAddressMode
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 WGPUAddressMode
impl Debug for WGPUAddressMode
§impl Default for WGPUAddressMode
impl Default for WGPUAddressMode
Source§impl Hash for WGPUAddressMode
impl Hash for WGPUAddressMode
Source§impl Ord for WGPUAddressMode
impl Ord for WGPUAddressMode
Source§fn cmp(&self, other: &WGPUAddressMode) -> Ordering
fn cmp(&self, other: &WGPUAddressMode) -> 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 WGPUAddressMode
impl PartialEq for WGPUAddressMode
Source§impl PartialOrd for WGPUAddressMode
impl PartialOrd for WGPUAddressMode
impl Copy for WGPUAddressMode
impl Eq for WGPUAddressMode
impl StructuralPartialEq for WGPUAddressMode
Auto Trait Implementations§
impl Freeze for WGPUAddressMode
impl RefUnwindSafe for WGPUAddressMode
impl Send for WGPUAddressMode
impl Sync for WGPUAddressMode
impl Unpin for WGPUAddressMode
impl UnwindSafe for WGPUAddressMode
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