Struct blade_graphics::TexturePiece
source · pub struct TexturePiece {
pub texture: Texture,
pub mip_level: u32,
pub array_layer: u32,
pub origin: [u32; 3],
}Fields§
§texture: Texture§mip_level: u32§array_layer: u32§origin: [u32; 3]Trait Implementations§
source§impl Clone for TexturePiece
impl Clone for TexturePiece
source§fn clone(&self) -> TexturePiece
fn clone(&self) -> TexturePiece
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 TexturePiece
impl Debug for TexturePiece
source§impl From<Texture> for TexturePiece
impl From<Texture> for TexturePiece
impl Copy for TexturePiece
Auto Trait Implementations§
impl Freeze for TexturePiece
impl RefUnwindSafe for TexturePiece
impl Send for TexturePiece
impl Sync for TexturePiece
impl Unpin for TexturePiece
impl UnwindSafe for TexturePiece
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)