pub enum ImageHeader {
Unknown,
Unreadable,
Size {
width: u32,
height: u32,
frames: u32,
},
}Expand description
What a whole image’s bytes say before any decode (VAPP-103): no known
image format, a raster (PNG, JPEG, GIF, WebP, BMP) or SVG whose size
cannot be read, or its size and image_frames. Every renderer’s
pixel cap reads this ONE answer (the natives through the FFI).
Variants§
Trait Implementations§
Source§impl Clone for ImageHeader
impl Clone for ImageHeader
impl Copy for ImageHeader
Source§impl Debug for ImageHeader
impl Debug for ImageHeader
impl Eq for ImageHeader
Source§impl PartialEq for ImageHeader
impl PartialEq for ImageHeader
impl StructuralPartialEq for ImageHeader
Auto 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.