pub struct RayOptions {
pub min_t: f32,
pub max_t: f32,
pub cull: Cull,
}Expand description
Options shared by the raycasts.
Fields§
§min_t: f32Smallest t that counts as a hit (inclusive). Default 0.0.
max_t: f32Largest t that counts as a hit (inclusive). Default f32::INFINITY.
cull: CullWhich faces to ignore. Default Cull::None.
Trait Implementations§
Source§impl Clone for RayOptions
impl Clone for RayOptions
Source§fn clone(&self) -> RayOptions
fn clone(&self) -> RayOptions
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 RayOptions
Source§impl Debug for RayOptions
impl Debug for RayOptions
Source§impl Default for RayOptions
impl Default for RayOptions
Source§impl PartialEq for RayOptions
impl PartialEq for RayOptions
impl StructuralPartialEq for RayOptions
Auto Trait Implementations§
impl Freeze for RayOptions
impl RefUnwindSafe for RayOptions
impl Send for RayOptions
impl Sync for RayOptions
impl Unpin for RayOptions
impl UnsafeUnpin for RayOptions
impl UnwindSafe for RayOptions
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