#[repr(C)]pub struct b2Transform {
pub p: b2Vec2,
pub q: b2Rot,
}Expand description
A 2D rigid transform
Fields§
§p: b2Vec2§q: b2RotTrait Implementations§
Source§impl Clone for b2Transform
impl Clone for b2Transform
Source§fn clone(&self) -> b2Transform
fn clone(&self) -> b2Transform
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 b2Transform
impl Debug for b2Transform
impl Copy for b2Transform
Auto Trait Implementations§
impl Freeze for b2Transform
impl RefUnwindSafe for b2Transform
impl Send for b2Transform
impl Sync for b2Transform
impl Unpin for b2Transform
impl UnwindSafe for b2Transform
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)