pub struct TextureCopyBase {
pub mip_level: u32,
pub array_layer: u32,
pub origin: Origin3d,
pub aspect: FormatAspects,
}
Fields§
§mip_level: u32
§array_layer: u32
§origin: Origin3d
Origin within a texture. Note: for 1D and 2D textures, Z must be 0.
aspect: FormatAspects
Implementations§
Source§impl TextureCopyBase
impl TextureCopyBase
pub fn max_copy_size(&self, full_size: &CopyExtent) -> CopyExtent
Trait Implementations§
Source§impl Clone for TextureCopyBase
impl Clone for TextureCopyBase
Source§fn clone(&self) -> TextureCopyBase
fn clone(&self) -> TextureCopyBase
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 moreAuto Trait Implementations§
impl Freeze for TextureCopyBase
impl RefUnwindSafe for TextureCopyBase
impl Send for TextureCopyBase
impl Sync for TextureCopyBase
impl Unpin for TextureCopyBase
impl UnwindSafe for TextureCopyBase
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
)