pub struct MatrixFixedPoint {
pub xx: i32,
pub xy: i32,
pub yx: i32,
pub yy: i32,
pub x0: i32,
pub y0: i32,
}
Fields§
§xx: i32
§xy: i32
§yx: i32
§yy: i32
§x0: i32
§y0: i32
Implementations§
Source§impl MatrixFixedPoint
impl MatrixFixedPoint
pub fn transform(&self, x: u16, y: u16) -> PointFixedPoint
Trait Implementations§
Source§impl Clone for MatrixFixedPoint
impl Clone for MatrixFixedPoint
Source§fn clone(&self) -> MatrixFixedPoint
fn clone(&self) -> MatrixFixedPoint
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for MatrixFixedPoint
impl RefUnwindSafe for MatrixFixedPoint
impl Send for MatrixFixedPoint
impl Sync for MatrixFixedPoint
impl Unpin for MatrixFixedPoint
impl UnwindSafe for MatrixFixedPoint
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