pub struct BodyHandle(pub u64);Expand description
Unique handle to a rigid body.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for BodyHandle
impl Clone for BodyHandle
Source§fn clone(&self) -> BodyHandle
fn clone(&self) -> BodyHandle
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 BodyHandle
impl Debug for BodyHandle
Source§impl<'de> Deserialize<'de> for BodyHandle
impl<'de> Deserialize<'de> for BodyHandle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for BodyHandle
impl Hash for BodyHandle
Source§impl Ord for BodyHandle
impl Ord for BodyHandle
Source§fn cmp(&self, other: &BodyHandle) -> Ordering
fn cmp(&self, other: &BodyHandle) -> 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 BodyHandle
impl PartialEq for BodyHandle
Source§impl PartialOrd for BodyHandle
impl PartialOrd for BodyHandle
Source§impl Serialize for BodyHandle
impl Serialize for BodyHandle
impl Copy for BodyHandle
impl Eq for BodyHandle
impl StructuralPartialEq for BodyHandle
Auto Trait Implementations§
impl Freeze for BodyHandle
impl RefUnwindSafe for BodyHandle
impl Send for BodyHandle
impl Sync for BodyHandle
impl Unpin for BodyHandle
impl UnsafeUnpin for BodyHandle
impl UnwindSafe for BodyHandle
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