Skip to main content

RayHitPacket

Trait RayHitPacket 

Source
pub trait RayHitPacket: Sized {
    type Ray: RayPacket;
    type Hit: HitPacket;

    const LEN: usize = <Self::Ray>::LEN;
}
Expand description

Represents a packet of ray/hit pairs.

Provided Associated Constants§

Source

const LEN: usize = <Self::Ray>::LEN

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§