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 duplicate 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