pub struct HitGeometry {
pub rect: Rect,
pub quad: [[f32; 2]; 4],
pub local_bounds: Rect,
pub world_to_local: ProjectiveTransform,
pub hit_clip_bounds: Option<Rect>,
pub hit_clips: Vec<HitClip>,
}Fields§
§rect: Rect§quad: [[f32; 2]; 4]§local_bounds: Rect§world_to_local: ProjectiveTransform§hit_clip_bounds: Option<Rect>§hit_clips: Vec<HitClip>Trait Implementations§
Source§impl Clone for HitGeometry
impl Clone for HitGeometry
Source§fn clone(&self) -> HitGeometry
fn clone(&self) -> HitGeometry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HitGeometry
impl RefUnwindSafe for HitGeometry
impl Send for HitGeometry
impl Sync for HitGeometry
impl Unpin for HitGeometry
impl UnsafeUnpin for HitGeometry
impl UnwindSafe for HitGeometry
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