pub enum ImageAlignmentObservation {
Translational(TranslationalAlignment),
Homographic(HomographicAlignment),
}Expand description
A Rust wrapper for the abstract VNImageAlignmentObservation base class.
Variants§
Translational(TranslationalAlignment)
Homographic(HomographicAlignment)
Implementations§
Source§impl ImageAlignmentObservation
impl ImageAlignmentObservation
pub const fn translational(alignment: TranslationalAlignment) -> Self
pub const fn homographic(alignment: HomographicAlignment) -> Self
Trait Implementations§
Source§impl Clone for ImageAlignmentObservation
impl Clone for ImageAlignmentObservation
Source§fn clone(&self) -> ImageAlignmentObservation
fn clone(&self) -> ImageAlignmentObservation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImageAlignmentObservation
impl Debug for ImageAlignmentObservation
Source§impl PartialEq for ImageAlignmentObservation
impl PartialEq for ImageAlignmentObservation
Source§fn eq(&self, other: &ImageAlignmentObservation) -> bool
fn eq(&self, other: &ImageAlignmentObservation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ImageAlignmentObservation
impl StructuralPartialEq for ImageAlignmentObservation
Auto Trait Implementations§
impl Freeze for ImageAlignmentObservation
impl RefUnwindSafe for ImageAlignmentObservation
impl Send for ImageAlignmentObservation
impl Sync for ImageAlignmentObservation
impl Unpin for ImageAlignmentObservation
impl UnsafeUnpin for ImageAlignmentObservation
impl UnwindSafe for ImageAlignmentObservation
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