pub struct HitTurn {
pub transform: Transform,
pub inner: Rect,
}Expand description
The turn a region is drawn through (ADR 0043): the clip entry’s transform, and the clip from inside the turned subtree, in the region’s own space.
Fields§
§transform: TransformLogical px: the region’s space to the viewport’s.
inner: RectThe inner clip, in the region’s space; NO_CLIP for none.
Implementations§
Trait Implementations§
impl Copy for HitTurn
impl StructuralPartialEq for HitTurn
Auto Trait Implementations§
impl Freeze for HitTurn
impl RefUnwindSafe for HitTurn
impl Send for HitTurn
impl Sync for HitTurn
impl Unpin for HitTurn
impl UnsafeUnpin for HitTurn
impl UnwindSafe for HitTurn
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