pub enum MatrixKind {
AxisAligned,
Affine,
General,
}Expand description
What the fast paths may assume about a matrix — computed when the transform stack changes, consulted per draw.
Variants§
AxisAligned
Positive scale + translation only: device-snapped glyphs, scissor clips, and analytic blur stay exact.
Affine
Any other affine (rotation, shear, flips).
General
A live perspective row: conservative bounds, approximate scales.
Trait Implementations§
Source§impl Clone for MatrixKind
impl Clone for MatrixKind
Source§fn clone(&self) -> MatrixKind
fn clone(&self) -> MatrixKind
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 moreimpl Copy for MatrixKind
Source§impl Debug for MatrixKind
impl Debug for MatrixKind
impl Eq for MatrixKind
Source§impl PartialEq for MatrixKind
impl PartialEq for MatrixKind
impl StructuralPartialEq for MatrixKind
Auto Trait Implementations§
impl Freeze for MatrixKind
impl RefUnwindSafe for MatrixKind
impl Send for MatrixKind
impl Sync for MatrixKind
impl Unpin for MatrixKind
impl UnsafeUnpin for MatrixKind
impl UnwindSafe for MatrixKind
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