pub struct LoadedImage {
pub bytes: Vec<u8>,
pub metadata: ImageMetadata,
pub filename: Option<String>,
}Expand description
Loaded and verified image input.
Fields§
§bytes: Vec<u8>Encoded image body.
metadata: ImageMetadataVerified metadata.
filename: Option<String>Optional safe logical filename supplied by the caller.
Trait Implementations§
Source§impl Clone for LoadedImage
impl Clone for LoadedImage
Source§fn clone(&self) -> LoadedImage
fn clone(&self) -> LoadedImage
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 moreSource§impl Debug for LoadedImage
impl Debug for LoadedImage
impl Eq for LoadedImage
Source§impl PartialEq for LoadedImage
impl PartialEq for LoadedImage
impl StructuralPartialEq for LoadedImage
Auto Trait Implementations§
impl Freeze for LoadedImage
impl RefUnwindSafe for LoadedImage
impl Send for LoadedImage
impl Sync for LoadedImage
impl Unpin for LoadedImage
impl UnsafeUnpin for LoadedImage
impl UnwindSafe for LoadedImage
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