pub struct ObservedDecision {
pub canvas: String,
pub layer: String,
pub x: f64,
pub y: f64,
pub skip: bool,
pub skipped: bool,
pub occlusions: Vec<Rect>,
}Expand description
One decision of a stored observation/ row: the canvas and layer it places, the solved pose, whether the
placement itself is a skip (placement.skip), whether the solve held the pose because the layer was blind
(skipped: too little texture to track, so the compositor painted nothing), and the placement’s occlusions.
Fields§
§canvas: String§layer: String§x: f64§y: f64§skip: bool§skipped: bool§occlusions: Vec<Rect>Trait Implementations§
Source§impl Clone for ObservedDecision
impl Clone for ObservedDecision
Source§impl Debug for ObservedDecision
impl Debug for ObservedDecision
Source§impl PartialEq for ObservedDecision
impl PartialEq for ObservedDecision
impl StructuralPartialEq for ObservedDecision
Auto Trait Implementations§
impl Freeze for ObservedDecision
impl RefUnwindSafe for ObservedDecision
impl Send for ObservedDecision
impl Sync for ObservedDecision
impl Unpin for ObservedDecision
impl UnsafeUnpin for ObservedDecision
impl UnwindSafe for ObservedDecision
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