pub struct ElementHit {
pub element: PickedElement,
pub point: Vector3,
pub t: Scalar,
}Expand description
An element of the part a pointer is over, as drawn: where, and how far
along its ray (see Scene::pick).
Fields§
§element: PickedElement§point: Vector3§t: ScalarTrait Implementations§
Source§impl Clone for ElementHit
impl Clone for ElementHit
Source§fn clone(&self) -> ElementHit
fn clone(&self) -> ElementHit
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 moreSource§impl Debug for ElementHit
impl Debug for ElementHit
Source§impl PartialEq for ElementHit
impl PartialEq for ElementHit
impl StructuralPartialEq for ElementHit
Auto Trait Implementations§
impl Freeze for ElementHit
impl RefUnwindSafe for ElementHit
impl Send for ElementHit
impl Sync for ElementHit
impl Unpin for ElementHit
impl UnsafeUnpin for ElementHit
impl UnwindSafe for ElementHit
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