pub struct Island {
pub id: BodyId,
pub bodies: Vec<BodyId>,
pub constraints: Vec<PairKey>,
}Expand description
A connected component of the contact graph, over dynamic bodies only.
Fields§
§id: BodyIdLowest handle among Self::bodies.
bodies: Vec<BodyId>Ascending.
constraints: Vec<PairKey>Ascending pairs; static contacts belong to their dynamic side.
Trait Implementations§
impl Eq for Island
impl StructuralPartialEq for Island
Auto Trait Implementations§
impl Freeze for Island
impl RefUnwindSafe for Island
impl Send for Island
impl Sync for Island
impl Unpin for Island
impl UnsafeUnpin for Island
impl UnwindSafe for Island
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more