#[repr(C)]pub struct WGPUOrigin2D {
pub x: u32,
pub y: u32,
}Fields§
§x: u32§y: u32Trait Implementations§
Source§impl Clone for WGPUOrigin2D
impl Clone for WGPUOrigin2D
Source§fn clone(&self) -> WGPUOrigin2D
fn clone(&self) -> WGPUOrigin2D
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 WGPUOrigin2D
impl Debug for WGPUOrigin2D
Source§impl Default for WGPUOrigin2D
impl Default for WGPUOrigin2D
Source§fn default() -> WGPUOrigin2D
fn default() -> WGPUOrigin2D
Returns the “default value” for a type. Read more
Source§impl Hash for WGPUOrigin2D
impl Hash for WGPUOrigin2D
Source§impl Ord for WGPUOrigin2D
impl Ord for WGPUOrigin2D
Source§fn cmp(&self, other: &WGPUOrigin2D) -> Ordering
fn cmp(&self, other: &WGPUOrigin2D) -> 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 WGPUOrigin2D
impl PartialEq for WGPUOrigin2D
Source§impl PartialOrd for WGPUOrigin2D
impl PartialOrd for WGPUOrigin2D
impl Copy for WGPUOrigin2D
impl Eq for WGPUOrigin2D
impl StructuralPartialEq for WGPUOrigin2D
Auto Trait Implementations§
impl Freeze for WGPUOrigin2D
impl RefUnwindSafe for WGPUOrigin2D
impl Send for WGPUOrigin2D
impl Sync for WGPUOrigin2D
impl Unpin for WGPUOrigin2D
impl UnwindSafe for WGPUOrigin2D
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