Struct wgpu_hal::CopyExtent 
source · pub struct CopyExtent {
    pub width: u32,
    pub height: u32,
    pub depth: u32,
}Fields§
§width: u32§height: u32§depth: u32Implementations§
source§impl CopyExtent
 
impl CopyExtent
pub fn map_extent_to_copy_size(extent: &Extent3d, dim: TextureDimension) -> Self
pub fn min(&self, other: &Self) -> Self
pub fn at_mip_level(&self, level: u32) -> Self
Trait Implementations§
source§impl Clone for CopyExtent
 
impl Clone for CopyExtent
source§fn clone(&self) -> CopyExtent
 
fn clone(&self) -> CopyExtent
Returns a copy 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 CopyExtent
 
impl Debug for CopyExtent
impl Copy for CopyExtent
Auto Trait Implementations§
impl RefUnwindSafe for CopyExtent
impl Send for CopyExtent
impl Sync for CopyExtent
impl Unpin for CopyExtent
impl UnwindSafe for CopyExtent
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