pub enum ViewOutcome {
Unshifted,
Refit,
LandmarksNotFound,
ViewRefitRejected,
FrameMismatch,
}Expand description
What one judgement of the view found.
Variants§
Unshifted
No more than one found landmark sits beyond the calibration’s tolerance of its calibrated place: one alone is as likely a false match as a moved camera.
Refit
Landmarks moved from the calibration but agree with the reference of the correction in force, so the frame is drawn through it.
LandmarksNotFound
Fewer than two landmarks are found, or fewer than two of the reference’s are found again.
ViewRefitRejected
Landmarks moved and no correction is in force, or two or more moved beyond the tolerance from the correction’s reference: the camera moved again.
FrameMismatch
The frame is not the calibration’s size or stream.
Implementations§
Trait Implementations§
Source§impl Clone for ViewOutcome
impl Clone for ViewOutcome
impl Copy for ViewOutcome
Source§impl Debug for ViewOutcome
impl Debug for ViewOutcome
Source§impl<'de> Deserialize<'de> for ViewOutcome
impl<'de> Deserialize<'de> for ViewOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ViewOutcome
Source§impl JsonSchema for ViewOutcome
impl JsonSchema for ViewOutcome
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ViewOutcome
impl PartialEq for ViewOutcome
Source§impl Serialize for ViewOutcome
impl Serialize for ViewOutcome
impl StructuralPartialEq for ViewOutcome
Auto Trait Implementations§
impl Forget for ViewOutcome
impl Freeze for ViewOutcome
impl Move for ViewOutcome
impl RefUnwindSafe for ViewOutcome
impl Send for ViewOutcome
impl Sync for ViewOutcome
impl Unpin for ViewOutcome
impl UnsafeUnpin for ViewOutcome
impl UnwindSafe for ViewOutcome
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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 moreimpl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.