pub struct HeightFieldHit {
pub position: Vec3,
pub normal: Vec3,
pub distance: f32,
}Expand description
Result of a height field ray intersection.
Fields§
§position: Vec3§normal: Vec3§distance: f32Trait Implementations§
Source§impl Clone for HeightFieldHit
impl Clone for HeightFieldHit
Source§fn clone(&self) -> HeightFieldHit
fn clone(&self) -> HeightFieldHit
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 moreSource§impl Debug for HeightFieldHit
impl Debug for HeightFieldHit
impl Copy for HeightFieldHit
Auto Trait Implementations§
impl Freeze for HeightFieldHit
impl RefUnwindSafe for HeightFieldHit
impl Send for HeightFieldHit
impl Sync for HeightFieldHit
impl Unpin for HeightFieldHit
impl UnsafeUnpin for HeightFieldHit
impl UnwindSafe for HeightFieldHit
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