pub struct LocalJointId(/* private fields */);Expand description
Zero-based joint index in an assembly. See the module recipe.
Implementations§
Source§impl LocalJointId
impl LocalJointId
Sourcepub const fn from_index(index: usize) -> LocalJointId
pub const fn from_index(index: usize) -> LocalJointId
Explicit local index; mapping lookups return None for out-of-range IDs.
Trait Implementations§
Source§impl Clone for LocalJointId
impl Clone for LocalJointId
Source§fn clone(&self) -> LocalJointId
fn clone(&self) -> LocalJointId
Returns a duplicate of the value. Read more
1.0.0 · 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 LocalJointId
impl Debug for LocalJointId
Source§impl Hash for LocalJointId
impl Hash for LocalJointId
Source§impl Ord for LocalJointId
impl Ord for LocalJointId
Source§fn cmp(&self, other: &LocalJointId) -> Ordering
fn cmp(&self, other: &LocalJointId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LocalJointId
impl PartialEq for LocalJointId
Source§impl PartialOrd for LocalJointId
impl PartialOrd for LocalJointId
impl Copy for LocalJointId
impl Eq for LocalJointId
impl StructuralPartialEq for LocalJointId
Auto Trait Implementations§
impl Freeze for LocalJointId
impl RefUnwindSafe for LocalJointId
impl Send for LocalJointId
impl Sync for LocalJointId
impl Unpin for LocalJointId
impl UnwindSafe for LocalJointId
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