pub struct ImageHeader {
pub width: u32,
pub height: u32,
pub format: ImageFormat,
pub pixel_format: PixelFormat,
}Fields§
§width: u32§height: u32§format: ImageFormat§pixel_format: PixelFormatTrait Implementations§
Source§impl Clone for ImageHeader
impl Clone for ImageHeader
Source§fn clone(&self) -> ImageHeader
fn clone(&self) -> ImageHeader
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 ImageHeader
impl RefUnwindSafe for ImageHeader
impl Send for ImageHeader
impl Sync for ImageHeader
impl Unpin for ImageHeader
impl UnsafeUnpin for ImageHeader
impl UnwindSafe for ImageHeader
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