#[repr(C)]pub struct Tvg_Matrix {
pub e11: f32,
pub e12: f32,
pub e13: f32,
pub e21: f32,
pub e22: f32,
pub e23: f32,
pub e31: f32,
pub e32: f32,
pub e33: f32,
}Expand description
@brief A data structure representing a three-dimensional matrix.
The elements e11, e12, e21 and e22 represent the rotation matrix, including the scaling factor. The elements e13 and e23 determine the translation of the object along the x and y-axis, respectively. The elements e31 and e32 are set to 0, e33 is set to 1.
Fields§
§e11: f32§e12: f32§e13: f32§e21: f32§e22: f32§e23: f32§e31: f32§e32: f32§e33: f32Trait Implementations§
Source§impl Clone for Tvg_Matrix
impl Clone for Tvg_Matrix
Source§fn clone(&self) -> Tvg_Matrix
fn clone(&self) -> Tvg_Matrix
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 Tvg_Matrix
impl Debug for Tvg_Matrix
impl Copy for Tvg_Matrix
Auto Trait Implementations§
impl Freeze for Tvg_Matrix
impl RefUnwindSafe for Tvg_Matrix
impl Send for Tvg_Matrix
impl Sync for Tvg_Matrix
impl Unpin for Tvg_Matrix
impl UnsafeUnpin for Tvg_Matrix
impl UnwindSafe for Tvg_Matrix
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