#[repr(C)]pub struct b2Vec2 {
pub x: f32,
pub y: f32,
}Expand description
2D vector This can be used to represent a point or free vector
Fields§
§x: f32coordinates
y: f32coordinates
Trait Implementations§
Auto Trait Implementations§
impl Freeze for b2Vec2
impl RefUnwindSafe for b2Vec2
impl Send for b2Vec2
impl Sync for b2Vec2
impl Unpin for b2Vec2
impl UnwindSafe for b2Vec2
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)