Struct nphysics3d::object::BodyHandle [−][src]
pub struct BodyHandle { /* fields omitted */ }
A unique identifier of a body added to the world.
Methods
impl BodyHandle
[src]
impl BodyHandle
pub fn ground() -> Self
[src]
pub fn ground() -> Self
The unique identifier of the ground.
pub fn is_ground(&self) -> bool
[src]
pub fn is_ground(&self) -> bool
Tests if this handle corresponds to the ground.
Trait Implementations
impl Copy for BodyHandle
[src]
impl Copy for BodyHandle
impl Clone for BodyHandle
[src]
impl Clone for BodyHandle
fn clone(&self) -> BodyHandle
[src]
fn clone(&self) -> BodyHandle
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for BodyHandle
[src]
impl Debug for BodyHandle
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for BodyHandle
[src]
impl PartialEq for BodyHandle
fn eq(&self, other: &BodyHandle) -> bool
[src]
fn eq(&self, other: &BodyHandle) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &BodyHandle) -> bool
[src]
fn ne(&self, other: &BodyHandle) -> bool
This method tests for !=
.
impl Eq for BodyHandle
[src]
impl Eq for BodyHandle
impl Hash for BodyHandle
[src]
impl Hash for BodyHandle
Auto Trait Implementations
impl Send for BodyHandle
impl Send for BodyHandle
impl Sync for BodyHandle
impl Sync for BodyHandle