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