pub enum PictureFormat {
Png,
Jpeg,
Gif,
Bmp,
}Expand description
An image’s encoding — mirrors word-ooxml::ImageFormat by name and scope for cross-crate
consistency (same real-world concept, each host crate keeps its own tiny copy rather than one
depending on the other — there is no shared “media” crate, and this enum is far too small to
justify creating one).
Variants§
Trait Implementations§
Source§impl Clone for PictureFormat
impl Clone for PictureFormat
Source§fn clone(&self) -> PictureFormat
fn clone(&self) -> PictureFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PictureFormat
Source§impl Debug for PictureFormat
impl Debug for PictureFormat
impl Eq for PictureFormat
Source§impl PartialEq for PictureFormat
impl PartialEq for PictureFormat
impl StructuralPartialEq for PictureFormat
Auto Trait Implementations§
impl Freeze for PictureFormat
impl RefUnwindSafe for PictureFormat
impl Send for PictureFormat
impl Sync for PictureFormat
impl Unpin for PictureFormat
impl UnsafeUnpin for PictureFormat
impl UnwindSafe for PictureFormat
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.