pub type DefaultBodyPartHandle = BodyPartHandle<Index>;
Expand description

The body part handle used by the DefaultBodySet.

Aliased Type§

struct DefaultBodyPartHandle(pub Index, pub usize);

Fields§

§0: Index§1: usize

Trait Implementations§

source§

impl<Handle> Clone for BodyPartHandle<Handle>where Handle: Clone + BodyHandle,

source§

fn clone(&self) -> BodyPartHandle<Handle>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Handle> Debug for BodyPartHandle<Handle>where Handle: Debug + BodyHandle,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<Handle> Hash for BodyPartHandle<Handle>where Handle: Hash + BodyHandle,

source§

fn hash<__H>(&self, state: &mut __H)where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<Handle> PartialEq<BodyPartHandle<Handle>> for BodyPartHandle<Handle>where Handle: PartialEq<Handle> + BodyHandle,

source§

fn eq(&self, other: &BodyPartHandle<Handle>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<Handle> Copy for BodyPartHandle<Handle>where Handle: Copy + BodyHandle,

source§

impl<Handle> Eq for BodyPartHandle<Handle>where Handle: Eq + BodyHandle,

source§

impl<Handle> StructuralEq for BodyPartHandle<Handle>where Handle: BodyHandle,

source§

impl<Handle> StructuralPartialEq for BodyPartHandle<Handle>where Handle: BodyHandle,