pub struct Geometry {
pub sx: i32,
pub sy: i32,
pub rot: u32,
}Expand description
composed geometry of a layer’s effects, per hsModComposeAll: scale factors multiply and clamp to ±4 (negative = mirrored), rotations add.
Fields§
§sx: i32§sy: i32§rot: u32clockwise degrees, always a multiple of 90 in 0..360.
Trait Implementations§
impl Copy for Geometry
impl Eq for Geometry
impl StructuralPartialEq for Geometry
Auto Trait Implementations§
impl Forget for Geometry
impl Freeze for Geometry
impl RefUnwindSafe for Geometry
impl Send for Geometry
impl Sync for Geometry
impl Unpin for Geometry
impl UnsafeUnpin for Geometry
impl UnwindSafe for Geometry
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