Expand description
An embedded image kind.
Variants
JPEG(Arc<Vec<u8>>)
A reference to raw JPEG data. Should be decoded by the caller.
PNG(Arc<Vec<u8>>)
A reference to raw PNG data. Should be decoded by the caller.
GIF(Arc<Vec<u8>>)
A reference to raw GIF data. Should be decoded by the caller.
SVG(Tree)
A preprocessed SVG tree. Can be rendered as is.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ImageKind
impl !Send for ImageKind
impl !Sync for ImageKind
impl Unpin for ImageKind
impl !UnwindSafe for ImageKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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