pub struct SnapQuery {
pub position: f32,
pub velocity: f32,
pub projected_position: f32,
pub viewport: f32,
pub max_offset: f32,
}Expand description
Read-only release kinematics passed to SnapPhysics::snap_target.
Fields§
§position: f32§velocity: f32§projected_position: f32§viewport: f32§max_offset: f32Trait Implementations§
impl Copy for SnapQuery
impl StructuralPartialEq for SnapQuery
Auto Trait Implementations§
impl Forget for SnapQuery
impl Freeze for SnapQuery
impl Move for SnapQuery
impl RefUnwindSafe for SnapQuery
impl Send for SnapQuery
impl Sync for SnapQuery
impl Unpin for SnapQuery
impl UnsafeUnpin for SnapQuery
impl UnwindSafe for SnapQuery
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