Struct rute::auto::matrix_ffi::RUMatrixFuncs
source · #[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) -> f32
m12: extern "C" fn(self_c: *const RUBase) -> f32
m21: extern "C" fn(self_c: *const RUBase) -> f32
m22: extern "C" fn(self_c: *const RUBase) -> f32
dx: extern "C" fn(self_c: *const RUBase) -> f32
dy: extern "C" fn(self_c: *const RUBase) -> f32
map_rect: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RURect
map_rect_2: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RURectF
map_3: extern "C" fn(self_c: *const RUBase, p: *const RUBase) -> RUPoint
map_4: extern "C" fn(self_c: *const RUBase, p: *const RUBase) -> RUPointF
map_5: extern "C" fn(self_c: *const RUBase, l: *const RUBase) -> RULine
map_6: extern "C" fn(self_c: *const RUBase, l: *const RUBase) -> RULineF
map_7: extern "C" fn(self_c: *const RUBase, a: *const RUBase) -> RUPolygonF
map_8: extern "C" fn(self_c: *const RUBase, a: *const RUBase) -> RUPolygon
map_9: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> RURegion
map_to_polygon: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> RUPolygon
reset: extern "C" fn(self_c: *const RUBase)
is_identity: extern "C" fn(self_c: *const RUBase) -> bool
scale: extern "C" fn(self_c: *const RUBase, sx: f32, sy: f32) -> RUMatrix
shear: extern "C" fn(self_c: *const RUBase, sh: f32, sv: f32) -> RUMatrix
rotate: extern "C" fn(self_c: *const RUBase, a: f32) -> RUMatrix
is_invertible: extern "C" fn(self_c: *const RUBase) -> bool
determinant: extern "C" fn(self_c: *const RUBase) -> f32
Trait Implementations
sourceimpl Clone for RUMatrixFuncs
impl Clone for RUMatrixFuncs
sourcefn clone(&self) -> RUMatrixFuncs
fn clone(&self) -> RUMatrixFuncs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for RUMatrixFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUMatrixFuncs
impl Send for RUMatrixFuncs
impl Sync for RUMatrixFuncs
impl Unpin for RUMatrixFuncs
impl UnwindSafe for RUMatrixFuncs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more