pub struct TranslationalAlignment {
pub tx: f64,
pub ty: f64,
}Expand description
2D translation in source-image coordinates needed to align the floating image to the target.
Fields§
§tx: f64§ty: f64Trait Implementations§
Source§impl Clone for TranslationalAlignment
impl Clone for TranslationalAlignment
Source§fn clone(&self) -> TranslationalAlignment
fn clone(&self) -> TranslationalAlignment
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 TranslationalAlignment
impl Debug for TranslationalAlignment
Source§impl PartialEq for TranslationalAlignment
impl PartialEq for TranslationalAlignment
Source§fn eq(&self, other: &TranslationalAlignment) -> bool
fn eq(&self, other: &TranslationalAlignment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TranslationalAlignment
impl StructuralPartialEq for TranslationalAlignment
Auto Trait Implementations§
impl Freeze for TranslationalAlignment
impl RefUnwindSafe for TranslationalAlignment
impl Send for TranslationalAlignment
impl Sync for TranslationalAlignment
impl Unpin for TranslationalAlignment
impl UnsafeUnpin for TranslationalAlignment
impl UnwindSafe for TranslationalAlignment
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