pub struct BoxCastInput {
pub box_: Aabb,
pub translation: Vec3,
pub max_fraction: f32,
}Expand description
Input for casting an AABB through a dynamic tree. (b3BoxCastInput)
Fields§
§box_: AabbThe AABB to cast, in the tree’s frame.
translation: Vec3The sweep translation.
max_fraction: f32The maximum fraction of the translation to consider, typically 1.
Trait Implementations§
Source§impl Clone for BoxCastInput
impl Clone for BoxCastInput
Source§fn clone(&self) -> BoxCastInput
fn clone(&self) -> BoxCastInput
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 BoxCastInput
Source§impl Debug for BoxCastInput
impl Debug for BoxCastInput
Source§impl Default for BoxCastInput
impl Default for BoxCastInput
Source§fn default() -> BoxCastInput
fn default() -> BoxCastInput
Returns the “default value” for a type. Read more
Source§impl PartialEq for BoxCastInput
impl PartialEq for BoxCastInput
impl StructuralPartialEq for BoxCastInput
Auto Trait Implementations§
impl Freeze for BoxCastInput
impl RefUnwindSafe for BoxCastInput
impl Send for BoxCastInput
impl Sync for BoxCastInput
impl Unpin for BoxCastInput
impl UnsafeUnpin for BoxCastInput
impl UnwindSafe for BoxCastInput
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