Struct TextureImageInfo
#[non_exhaustive]pub struct TextureImageInfo {
pub width: u32,
pub height: u32,
pub stride: u32,
pub byte_length: usize,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.width: u32§height: u32§stride: u32§byte_length: usizeImplementations§
§impl TextureImageInfo
impl TextureImageInfo
Trait Implementations§
§impl Clone for TextureImageInfo
impl Clone for TextureImageInfo
§fn clone(&self) -> TextureImageInfo
fn clone(&self) -> TextureImageInfo
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 more§impl Debug for TextureImageInfo
impl Debug for TextureImageInfo
§impl PartialEq for TextureImageInfo
impl PartialEq for TextureImageInfo
impl Copy for TextureImageInfo
impl Eq for TextureImageInfo
impl StructuralPartialEq for TextureImageInfo
Auto Trait Implementations§
impl Freeze for TextureImageInfo
impl RefUnwindSafe for TextureImageInfo
impl Send for TextureImageInfo
impl Sync for TextureImageInfo
impl Unpin for TextureImageInfo
impl UnsafeUnpin for TextureImageInfo
impl UnwindSafe for TextureImageInfo
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