#[repr(C)]pub struct JointId {
pub index1: i32,
pub world0: u16,
pub generation: u16,
}Expand description
Handle id for a joint in a Box3D world.
Fields§
§index1: i32One-based native index. Zero is an invalid/null id.
world0: u16Native world index this id belongs to.
generation: u16Native generation used to reject stale ids.
Implementations§
Trait Implementations§
impl Copy for JointId
impl Eq for JointId
impl StructuralPartialEq for JointId
Auto Trait Implementations§
impl Freeze for JointId
impl RefUnwindSafe for JointId
impl Send for JointId
impl Sync for JointId
impl Unpin for JointId
impl UnsafeUnpin for JointId
impl UnwindSafe for JointId
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