#[repr(C)]pub struct b2PlaneSolverResult {
pub translation: b2Vec2,
pub iterationCount: c_int,
}Expand description
Result returned by b2SolvePlanes
Fields§
§translation: b2Vec2The translation of the mover
iterationCount: c_intThe number of iterations used by the plane solver. For diagnostics.
Trait Implementations§
Source§impl Clone for b2PlaneSolverResult
impl Clone for b2PlaneSolverResult
Source§fn clone(&self) -> b2PlaneSolverResult
fn clone(&self) -> b2PlaneSolverResult
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for b2PlaneSolverResult
impl Debug for b2PlaneSolverResult
impl Copy for b2PlaneSolverResult
Auto Trait Implementations§
impl Freeze for b2PlaneSolverResult
impl RefUnwindSafe for b2PlaneSolverResult
impl Send for b2PlaneSolverResult
impl Sync for b2PlaneSolverResult
impl Unpin for b2PlaneSolverResult
impl UnwindSafe for b2PlaneSolverResult
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)