#[repr(C)]
pub struct RUMatrixFuncs {
Show 24 fields pub destroy: extern "C" fn(self_c: *const RUBase), pub m11: extern "C" fn(self_c: *const RUBase) -> f32, pub m12: extern "C" fn(self_c: *const RUBase) -> f32, pub m21: extern "C" fn(self_c: *const RUBase) -> f32, pub m22: extern "C" fn(self_c: *const RUBase) -> f32, pub dx: extern "C" fn(self_c: *const RUBase) -> f32, pub dy: extern "C" fn(self_c: *const RUBase) -> f32, pub map_rect: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RURect, pub map_rect_2: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RURectF, pub map_3: extern "C" fn(self_c: *const RUBase, p: *const RUBase) -> RUPoint, pub map_4: extern "C" fn(self_c: *const RUBase, p: *const RUBase) -> RUPointF, pub map_5: extern "C" fn(self_c: *const RUBase, l: *const RUBase) -> RULine, pub map_6: extern "C" fn(self_c: *const RUBase, l: *const RUBase) -> RULineF, pub map_7: extern "C" fn(self_c: *const RUBase, a: *const RUBase) -> RUPolygonF, pub map_8: extern "C" fn(self_c: *const RUBase, a: *const RUBase) -> RUPolygon, pub map_9: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> RURegion, pub map_to_polygon: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> RUPolygon, pub reset: extern "C" fn(self_c: *const RUBase), pub is_identity: extern "C" fn(self_c: *const RUBase) -> bool, pub scale: extern "C" fn(self_c: *const RUBase, sx: f32, sy: f32) -> RUMatrix, pub shear: extern "C" fn(self_c: *const RUBase, sh: f32, sv: f32) -> RUMatrix, pub rotate: extern "C" fn(self_c: *const RUBase, a: f32) -> RUMatrix, pub is_invertible: extern "C" fn(self_c: *const RUBase) -> bool, pub determinant: extern "C" fn(self_c: *const RUBase) -> f32,
}

Fields

destroy: extern "C" fn(self_c: *const RUBase)m11: extern "C" fn(self_c: *const RUBase) -> f32m12: extern "C" fn(self_c: *const RUBase) -> f32m21: extern "C" fn(self_c: *const RUBase) -> f32m22: extern "C" fn(self_c: *const RUBase) -> f32dx: extern "C" fn(self_c: *const RUBase) -> f32dy: extern "C" fn(self_c: *const RUBase) -> f32map_rect: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RURectmap_rect_2: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RURectFmap_3: extern "C" fn(self_c: *const RUBase, p: *const RUBase) -> RUPointmap_4: extern "C" fn(self_c: *const RUBase, p: *const RUBase) -> RUPointFmap_5: extern "C" fn(self_c: *const RUBase, l: *const RUBase) -> RULinemap_6: extern "C" fn(self_c: *const RUBase, l: *const RUBase) -> RULineFmap_7: extern "C" fn(self_c: *const RUBase, a: *const RUBase) -> RUPolygonFmap_8: extern "C" fn(self_c: *const RUBase, a: *const RUBase) -> RUPolygonmap_9: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> RURegionmap_to_polygon: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> RUPolygonreset: extern "C" fn(self_c: *const RUBase)is_identity: extern "C" fn(self_c: *const RUBase) -> boolscale: extern "C" fn(self_c: *const RUBase, sx: f32, sy: f32) -> RUMatrixshear: extern "C" fn(self_c: *const RUBase, sh: f32, sv: f32) -> RUMatrixrotate: extern "C" fn(self_c: *const RUBase, a: f32) -> RUMatrixis_invertible: extern "C" fn(self_c: *const RUBase) -> booldeterminant: extern "C" fn(self_c: *const RUBase) -> f32

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.