#[repr(C)]pub struct b2BoxCastInput {
pub box_: b2AABB,
pub translation: b2Vec2,
pub maxFraction: f32,
}Expand description
Input for casting an AABB through a dynamic tree
Fields§
§box_: b2AABBThe AABB to cast, in the tree’s frame.
translation: b2Vec2The sweep translation.
maxFraction: f32The maximum fraction of the translation to consider, typically 1.
Trait Implementations§
Source§impl Clone for b2BoxCastInput
impl Clone for b2BoxCastInput
Source§fn clone(&self) -> b2BoxCastInput
fn clone(&self) -> b2BoxCastInput
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 b2BoxCastInput
Auto Trait Implementations§
impl Freeze for b2BoxCastInput
impl RefUnwindSafe for b2BoxCastInput
impl Send for b2BoxCastInput
impl Sync for b2BoxCastInput
impl Unpin for b2BoxCastInput
impl UnsafeUnpin for b2BoxCastInput
impl UnwindSafe for b2BoxCastInput
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