pub struct DtRaycastHit {
pub t: f32,
pub hit_normal: [f32; 3],
pub hit_edge_index: i32,
pub max_path: i32,
pub path_cost: f32,
/* private fields */
}Fields§
§t: f32§hit_normal: [f32; 3]§hit_edge_index: i32§max_path: i32§path_cost: f32Implementations§
Trait Implementations§
Source§impl Clone for DtRaycastHit
impl Clone for DtRaycastHit
Source§fn clone(&self) -> DtRaycastHit
fn clone(&self) -> DtRaycastHit
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 DtRaycastHit
impl Debug for DtRaycastHit
Source§impl Default for DtRaycastHit
impl Default for DtRaycastHit
Source§fn default() -> DtRaycastHit
fn default() -> DtRaycastHit
Returns the “default value” for a type. Read more
Source§impl ExternType for DtRaycastHit
impl ExternType for DtRaycastHit
Auto Trait Implementations§
impl Freeze for DtRaycastHit
impl RefUnwindSafe for DtRaycastHit
impl !Send for DtRaycastHit
impl !Sync for DtRaycastHit
impl Unpin for DtRaycastHit
impl UnwindSafe for DtRaycastHit
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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