pub struct RayTriangleHit {
pub distance: f64,
pub barycentric_u: f64,
pub barycentric_v: f64,
}Fields§
§distance: f64§barycentric_u: f64§barycentric_v: f64Trait Implementations§
Source§impl Clone for RayTriangleHit
impl Clone for RayTriangleHit
Source§fn clone(&self) -> RayTriangleHit
fn clone(&self) -> RayTriangleHit
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 moreimpl Copy for RayTriangleHit
Source§impl Debug for RayTriangleHit
impl Debug for RayTriangleHit
Source§impl<'de> Deserialize<'de> for RayTriangleHit
impl<'de> Deserialize<'de> for RayTriangleHit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RayTriangleHit
impl PartialEq for RayTriangleHit
Source§impl Serialize for RayTriangleHit
impl Serialize for RayTriangleHit
impl StructuralPartialEq for RayTriangleHit
Auto Trait Implementations§
impl Freeze for RayTriangleHit
impl RefUnwindSafe for RayTriangleHit
impl Send for RayTriangleHit
impl Sync for RayTriangleHit
impl Unpin for RayTriangleHit
impl UnsafeUnpin for RayTriangleHit
impl UnwindSafe for RayTriangleHit
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