pub struct Extent3D {
pub width: u32,
pub height: u32,
pub depth_or_array_layers: u32,
}
Expand description
A three-dimensional extent, representing width, height, and depth.
This is used for 3D textures, texture arrays, or cubemaps.
Fields§
§width: u32
The width component of the extent.
height: u32
The height component of the extent.
depth_or_array_layers: u32
The depth or number of array layers.
Trait Implementations§
impl Copy for Extent3D
impl Eq for Extent3D
impl StructuralPartialEq for Extent3D
Auto Trait Implementations§
impl Freeze for Extent3D
impl RefUnwindSafe for Extent3D
impl Send for Extent3D
impl Sync for Extent3D
impl Unpin for Extent3D
impl UnwindSafe for Extent3D
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