#[repr(C)]pub struct b2BodyId {
pub index1: i32,
pub world0: u16,
pub generation: u16,
}Expand description
Body id references a body instance. This should be treated as an opaque handle.
Fields§
§index1: i32§world0: u16§generation: u16Trait Implementations§
Auto Trait Implementations§
impl Freeze for b2BodyId
impl RefUnwindSafe for b2BodyId
impl Send for b2BodyId
impl Sync for b2BodyId
impl Unpin for b2BodyId
impl UnwindSafe for b2BodyId
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)