Struct sw_composite::MatrixFixedPoint
source · 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 copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)