pub struct SourceImageAsset {
pub image_index: usize,
pub name: Option<String>,
pub source_kind: ImageSourceKind,
pub declared_mime_type: Option<String>,
pub detected_container: Option<ImageContainerFormat>,
pub inspection: SourceImageInspection,
}Expand description
One source image definition and bounded inspection result.
Fields§
§image_index: usizeStable source image index.
name: Option<String>Authored name, when present.
source_kind: ImageSourceKindSource declaration kind.
declared_mime_type: Option<String>MIME type declared by the source, when present.
detected_container: Option<ImageContainerFormat>Detected container format, when recognisable.
inspection: SourceImageInspectionBounded image-inspection result.
Trait Implementations§
Source§impl Clone for SourceImageAsset
impl Clone for SourceImageAsset
Source§fn clone(&self) -> SourceImageAsset
fn clone(&self) -> SourceImageAsset
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 moreAuto Trait Implementations§
impl Freeze for SourceImageAsset
impl RefUnwindSafe for SourceImageAsset
impl Send for SourceImageAsset
impl Sync for SourceImageAsset
impl Unpin for SourceImageAsset
impl UnsafeUnpin for SourceImageAsset
impl UnwindSafe for SourceImageAsset
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