pub struct TextureDebugInfo {
pub name: String,
pub width: u32,
pub height: u32,
pub format: String,
pub is_external: bool,
}Expand description
Debug information for a texture
Fields§
§name: StringTexture name (for external textures) or index (for intermediates)
width: u32Width in pixels
height: u32Height in pixels
format: StringTexture format as string
is_external: boolWhether this is an external texture
Trait Implementations§
Source§impl Clone for TextureDebugInfo
impl Clone for TextureDebugInfo
Source§fn clone(&self) -> TextureDebugInfo
fn clone(&self) -> TextureDebugInfo
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 moreAuto Trait Implementations§
impl Freeze for TextureDebugInfo
impl RefUnwindSafe for TextureDebugInfo
impl Send for TextureDebugInfo
impl Sync for TextureDebugInfo
impl Unpin for TextureDebugInfo
impl UnwindSafe for TextureDebugInfo
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