pub enum CompositorDiagnostic {
IncompletePatch {
canvas: String,
frame: u32,
time: f64,
region: Rect,
},
Conflict {
canvas: String,
frame: u32,
time: f64,
region: Rect,
confidence: f64,
regions: Vec<Rect>,
conflicts: u64,
},
}Expand description
What a placement reports; the host formats the text from the catalogue.
Variants§
IncompletePatch
INCOMPLETE_TEMPORAL_PATCH (warning): a conflicting area has no complete consistent moment yet.
Conflict
TEMPORAL_OR_ALIGNMENT_CONFLICT (warning), one per placement with conflicts: region is the largest
conflicting component, regions all of them, conflicts the pixels detected before patching.
Trait Implementations§
Source§impl Clone for CompositorDiagnostic
impl Clone for CompositorDiagnostic
Source§impl Debug for CompositorDiagnostic
impl Debug for CompositorDiagnostic
Source§impl PartialEq for CompositorDiagnostic
impl PartialEq for CompositorDiagnostic
impl StructuralPartialEq for CompositorDiagnostic
Auto Trait Implementations§
impl Freeze for CompositorDiagnostic
impl RefUnwindSafe for CompositorDiagnostic
impl Send for CompositorDiagnostic
impl Sync for CompositorDiagnostic
impl Unpin for CompositorDiagnostic
impl UnsafeUnpin for CompositorDiagnostic
impl UnwindSafe for CompositorDiagnostic
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more