pub trait AffineMatrix2DBaseMethods: WxRustMethods {
// Provided methods
fn set(&self, mat2_d: *const c_void, tr: *const c_void) { ... }
fn get(&self, mat2_d: *mut c_void, tr: *mut c_void) { ... }
fn concat<A: AffineMatrix2DBaseMethods>(&self, t: &A) { ... }
fn invert(&self) -> bool { ... }
fn is_identity(&self) -> bool { ... }
fn is_equal<A: AffineMatrix2DBaseMethods>(&self, t: &A) -> bool { ... }
fn mirror(&self, direction: c_int) { ... }
fn transform_point(&self, x: *mut c_void, y: *mut c_void) { ... }
fn transform_distance(&self, dx: *mut c_void, dy: *mut c_void) { ... }
}Expand description
This trait represents C++ wxAffineMatrix2DBase class’s methods and inheritance.
See AffineMatrix2DBaseIsOwned documentation for the class usage.
Provided Methods§
Sourcefn concat<A: AffineMatrix2DBaseMethods>(&self, t: &A)
fn concat<A: AffineMatrix2DBaseMethods>(&self, t: &A)
Concatenate this matrix with another one.
Sourcefn is_identity(&self) -> bool
fn is_identity(&self) -> bool
Check if this is the identity matrix.
Sourcefn is_equal<A: AffineMatrix2DBaseMethods>(&self, t: &A) -> bool
fn is_equal<A: AffineMatrix2DBaseMethods>(&self, t: &A) -> bool
Check that this matrix is identical with t.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.