pub struct TextureSize {
pub format: PixelFormat,
pub width: u32,
pub height: u32,
pub array_layers: u32,
}Expand description
Format and size of one texture of the frame layout (QarTextureSize).
Fields§
§format: PixelFormat§width: u32§height: u32§array_layers: u32Trait Implementations§
Source§impl Clone for TextureSize
impl Clone for TextureSize
impl Copy for TextureSize
Source§impl Debug for TextureSize
impl Debug for TextureSize
impl Eq for TextureSize
Source§impl PartialEq for TextureSize
impl PartialEq for TextureSize
impl StructuralPartialEq for TextureSize
Auto Trait Implementations§
impl Freeze for TextureSize
impl RefUnwindSafe for TextureSize
impl Send for TextureSize
impl Sync for TextureSize
impl Unpin for TextureSize
impl UnsafeUnpin for TextureSize
impl UnwindSafe for TextureSize
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