#[non_exhaustive]pub struct ProbeReport {
pub format: Format,
pub width: u32,
pub height: u32,
pub timing: Timing,
pub loop_count: Option<u32>,
pub items: Vec<String>,
pub item: Option<String>,
pub color: Option<LinearColor>,
pub diagnostics: Vec<Diagnostic>,
}Expand description
What probing a file finds.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.format: FormatThe format.
width: u32The canvas width, in pixels.
height: u32The canvas height, in pixels.
timing: TimingWhen its frames are shown.
loop_count: Option<u32>Plays the file asks for (0 for forever), or None if unstated. Only a hint for import.
items: Vec<String>The items a package holds, such as a dotLottie’s animations; empty for a single item.
item: Option<String>The package item described: the one opened, or for a probe the first that opens. None
for a single item.
color: Option<LinearColor>The color of linear-light media; None for sRGB media.
diagnostics: Vec<Diagnostic>What the user should know.
Trait Implementations§
Source§impl Clone for ProbeReport
impl Clone for ProbeReport
Source§impl Debug for ProbeReport
impl Debug for ProbeReport
Source§impl PartialEq for ProbeReport
impl PartialEq for ProbeReport
Source§impl Serialize for ProbeReport
impl Serialize for ProbeReport
impl StructuralPartialEq for ProbeReport
Auto Trait Implementations§
impl Forget for ProbeReport
impl Freeze for ProbeReport
impl Move for ProbeReport
impl RefUnwindSafe for ProbeReport
impl Send for ProbeReport
impl Sync for ProbeReport
impl Unpin for ProbeReport
impl UnsafeUnpin for ProbeReport
impl UnwindSafe for ProbeReport
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