pub struct RayTestBatchOptions<'a> {
pub num_threads: Option<i32>,
pub parent_object_unique_id: Option<i32>,
pub parent_link_index: Option<i32>,
pub report_hit_number: Option<i32>,
pub collision_filter_mask: Option<i32>,
pub fraction_epsilon: Option<f64>,
pub ray_from_positions: &'a [[f64; 3]],
pub ray_to_positions: &'a [[f64; 3]],
}Fields§
§num_threads: Option<i32>§parent_object_unique_id: Option<i32>§parent_link_index: Option<i32>§report_hit_number: Option<i32>§collision_filter_mask: Option<i32>§fraction_epsilon: Option<f64>§ray_from_positions: &'a [[f64; 3]]§ray_to_positions: &'a [[f64; 3]]Trait Implementations§
Source§impl<'a> Clone for RayTestBatchOptions<'a>
impl<'a> Clone for RayTestBatchOptions<'a>
Source§fn clone(&self) -> RayTestBatchOptions<'a>
fn clone(&self) -> RayTestBatchOptions<'a>
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<'a> Debug for RayTestBatchOptions<'a>
impl<'a> Debug for RayTestBatchOptions<'a>
Source§impl<'a> Default for RayTestBatchOptions<'a>
impl<'a> Default for RayTestBatchOptions<'a>
Source§fn default() -> RayTestBatchOptions<'a>
fn default() -> RayTestBatchOptions<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for RayTestBatchOptions<'a>
impl<'a> RefUnwindSafe for RayTestBatchOptions<'a>
impl<'a> Send for RayTestBatchOptions<'a>
impl<'a> Sync for RayTestBatchOptions<'a>
impl<'a> Unpin for RayTestBatchOptions<'a>
impl<'a> UnwindSafe for RayTestBatchOptions<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.