pub enum ImagePictures {
Still,
Animation(ImageAnimation),
Pages(ImagePages),
}Expand description
How an image’s pictures go together.
Variants§
Still
One picture.
Animation(ImageAnimation)
Frames shown one after another, as a GIF’s, an animated PNG’s, WebP’s or a HEIF sequence’s.
Pages(ImagePages)
Pictures each of its own, as a TIFF’s pages or the images of a HEIF collection.
Implementations§
Trait Implementations§
Source§impl Clone for ImagePictures
impl Clone for ImagePictures
Source§impl Debug for ImagePictures
impl Debug for ImagePictures
Source§impl Default for ImagePictures
impl Default for ImagePictures
Source§impl PartialEq for ImagePictures
impl PartialEq for ImagePictures
impl StructuralPartialEq for ImagePictures
Auto Trait Implementations§
impl Forget for ImagePictures
impl Freeze for ImagePictureswhere
*const u8 is !null: Freeze,
PhantomData<AnimationFrame>: Freeze,
PhantomData<ImagePage>: Freeze,
impl Move for ImagePictures
impl RefUnwindSafe for ImagePictures
impl Send for ImagePictureswhere
RawVecInner: Send,
impl Sync for ImagePictureswhere
RawVecInner: Sync,
impl Unpin for ImagePictures
impl UnsafeUnpin for ImagePictureswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<AnimationFrame>: UnsafeUnpin,
PhantomData<ImagePage>: UnsafeUnpin,
impl UnwindSafe for ImagePictureswhere
RawVecInner: UnwindSafe,
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