Struct rutabaga_gfx::rutabaga_utils::Transfer3D
source · #[repr(C)]pub struct Transfer3D {
pub x: u32,
pub y: u32,
pub z: u32,
pub w: u32,
pub h: u32,
pub d: u32,
pub level: u32,
pub stride: u32,
pub layer_stride: u32,
pub offset: u64,
}
Expand description
Transfers {to, from} 1D buffers, 2D textures, 3D textures, and cubemaps.
Fields§
§x: u32
§y: u32
§z: u32
§w: u32
§h: u32
§d: u32
§level: u32
§stride: u32
§layer_stride: u32
§offset: u64
Implementations§
Trait Implementations§
source§impl Clone for Transfer3D
impl Clone for Transfer3D
source§fn clone(&self) -> Transfer3D
fn clone(&self) -> Transfer3D
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 Transfer3D
impl Debug for Transfer3D
impl Copy for Transfer3D
Auto Trait Implementations§
impl RefUnwindSafe for Transfer3D
impl Send for Transfer3D
impl Sync for Transfer3D
impl Unpin for Transfer3D
impl UnwindSafe for Transfer3D
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