Struct wrapped2d::serialize::IdToHandle
source · pub struct IdToHandle { /* private fields */ }
Implementations§
source§impl IdToHandle
impl IdToHandle
pub fn new() -> Self
pub fn clear(&mut self)
pub fn body_handle(&self, id: BodyId) -> Option<BodyHandle>
pub fn insert_body(&mut self, id: BodyId, handle: BodyHandle)
pub fn joint_handle(&self, id: JointId) -> Option<JointHandle>
pub fn insert_joint(&mut self, id: JointId, handle: JointHandle)
Auto Trait Implementations§
impl !RefUnwindSafe for IdToHandle
impl Send for IdToHandle
impl Sync for IdToHandle
impl !Unpin for IdToHandle
impl !UnwindSafe for IdToHandle
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