pub enum ImageKind {
DATA(Arc<PreloadedImageData>),
SVG {
original_href: String,
tree: Arc<Tree>,
},
}Expand description
An embedded image kind.
Variants§
DATA(Arc<PreloadedImageData>)
Contains preloaded decoded image data
SVG
A preprocessed SVG tree. Can be rendered as is.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImageKind
impl RefUnwindSafe for ImageKind
impl Send for ImageKind
impl Sync for ImageKind
impl Unpin for ImageKind
impl UnwindSafe for ImageKind
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