pub struct ClipReport {
pub container: ContainerReport,
pub database: DatabaseReport,
pub layers: LayerReport,
pub pixels: PixelReport,
pub references: ReferenceReport,
pub vectors: VectorReport,
pub texts: TextReport,
pub effects: EffectReport,
pub preview: Option<(u32, u32)>,
pub preview_error: Option<String>,
pub unchanged_save_identical: bool,
pub errors: Vec<String>,
}Expand description
Result of check_clip: every check of a .clip.
Fields§
§container: ContainerReportThe container.
database: DatabaseReportThe database.
layers: LayerReportThe layer tree.
pixels: PixelReportRaster pixels.
references: ReferenceReportExternal chunk references.
vectors: VectorReportVector data.
texts: TextReportText layers.
effects: EffectReportLayer effects.
preview: Option<(u32, u32)>Size of the stored preview (CanvasPreview), if any.
preview_error: Option<String>Why the preview could not be decoded, if it could not.
unchanged_save_identical: boolSaving without changes gives the input bytes.
errors: Vec<String>Checks that could not run, with why.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClipReport
impl RefUnwindSafe for ClipReport
impl Send for ClipReport
impl Sync for ClipReport
impl Unpin for ClipReport
impl UnsafeUnpin for ClipReport
impl UnwindSafe for ClipReport
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