pub struct GraphColor {
pub body_set: BitSet,
pub joint_sims: Vec<JointSim>,
pub convex_contacts: Vec<i32>,
pub contacts: Vec<ContactSpec>,
}Expand description
(b3GraphColor)
Fields§
§body_set: BitSetIndexed by bodyId; oversized to encompass static bodies. Bits are never traversed or counted. Unused on the overflow color.
joint_sims: Vec<JointSim>Cache friendly arrays
convex_contacts: Vec<i32>§contacts: Vec<ContactSpec>Trait Implementations§
Source§impl Clone for GraphColor
impl Clone for GraphColor
Source§fn clone(&self) -> GraphColor
fn clone(&self) -> GraphColor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GraphColor
impl Debug for GraphColor
Source§impl Default for GraphColor
impl Default for GraphColor
Source§fn default() -> GraphColor
fn default() -> GraphColor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GraphColor
impl RefUnwindSafe for GraphColor
impl Send for GraphColor
impl Sync for GraphColor
impl Unpin for GraphColor
impl UnsafeUnpin for GraphColor
impl UnwindSafe for GraphColor
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