pub enum ImageFormat {
Format1,
Format2,
Format5,
Format6,
Format7,
Format8,
Format9,
Format17,
Format18,
Format19,
}
Expand description
Valid image formats
Variants
Format1
Format2
Format5
Format6
Format7
Format8
Format9
Format17
Format18
Format19
Trait Implementations
sourceimpl Clone for ImageFormat
impl Clone for ImageFormat
sourcefn clone(&self) -> ImageFormat
fn clone(&self) -> ImageFormat
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> ReadBinaryDep<'a> for ImageFormat
impl<'a> ReadBinaryDep<'a> for ImageFormat
type Args = (ImageFormat, Option<BigGlyphMetrics>)
type HostType = GlyphBitmapData<'a>
fn read_dep(
ctxt: &mut ReadCtxt<'a>,
(format, metrics): Self::Args
) -> Result<Self::HostType, ParseError>
sourceimpl TryFrom<u16> for ImageFormat
impl TryFrom<u16> for ImageFormat
impl Copy for ImageFormat
Auto Trait Implementations
impl RefUnwindSafe for ImageFormat
impl Send for ImageFormat
impl Sync for ImageFormat
impl Unpin for ImageFormat
impl UnwindSafe for ImageFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more