pub struct BodySet<B> { /* private fields */ }Implementations§
Source§impl<B> BodySet<B>
impl<B> BodySet<B>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn get(&self, h: RigidBodyHandle) -> Option<&B>
pub fn get_mut(&mut self, h: RigidBodyHandle) -> Option<&mut B>
pub fn iter(&self) -> impl Iterator<Item = (RigidBodyHandle, &B)>
pub fn iter_mut(&mut self) -> impl Iterator<Item = (RigidBodyHandle, &mut B)>
Trait Implementations§
Source§impl<B> Index<RigidBodyHandle> for BodySet<B>
impl<B> Index<RigidBodyHandle> for BodySet<B>
Auto Trait Implementations§
impl<B> Freeze for BodySet<B>
impl<B> RefUnwindSafe for BodySet<B>where
B: RefUnwindSafe,
impl<B> Send for BodySet<B>where
B: Send,
impl<B> Sync for BodySet<B>where
B: Sync,
impl<B> Unpin for BodySet<B>where
B: Unpin,
impl<B> UnwindSafe for BodySet<B>where
B: UnwindSafe,
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