#[repr(C)]pub struct b2Hull {
pub points: [b2Vec2; 8],
pub count: c_int,
}Expand description
A convex hull. Used to create convex polygons. @warning Do not modify these values directly, instead use b2ComputeHull()
Fields§
§points: [b2Vec2; 8]The final points of the hull
count: c_intThe number of points
Trait Implementations§
Auto Trait Implementations§
impl Freeze for b2Hull
impl RefUnwindSafe for b2Hull
impl Send for b2Hull
impl Sync for b2Hull
impl Unpin for b2Hull
impl UnwindSafe for b2Hull
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)