#[repr(C)]pub struct b2Plane {
pub normal: b2Vec2,
pub offset: f32,
}Expand description
separation = dot(normal, point) - offset
Fields§
§normal: b2Vec2§offset: f32Trait Implementations§
Auto Trait Implementations§
impl Freeze for b2Plane
impl RefUnwindSafe for b2Plane
impl Send for b2Plane
impl Sync for b2Plane
impl Unpin for b2Plane
impl UnwindSafe for b2Plane
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)