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: Origin3dOrigin within a texture. Note: for 1D and 2D textures, Z must be 0.
aspect: FormatAspectsImplementations§
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
Auto Trait Implementations§
impl Forget for TextureCopyBase
impl Freeze for TextureCopyBasewhere
InternalBitFlags: Freeze,
impl Move for TextureCopyBase
impl RefUnwindSafe for TextureCopyBasewhere
InternalBitFlags: RefUnwindSafe,
impl Send for TextureCopyBasewhere
InternalBitFlags: Send,
impl Sync for TextureCopyBasewhere
InternalBitFlags: Sync,
impl Unpin for TextureCopyBasewhere
InternalBitFlags: Unpin,
impl UnsafeUnpin for TextureCopyBasewhere
InternalBitFlags: UnsafeUnpin,
impl UnwindSafe for TextureCopyBasewhere
InternalBitFlags: UnwindSafe,
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