#[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 Freeze for Transfer3D
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)