[−][src]Struct nphysics_testbed3d::objects::capsule::Capsule
Methods
impl Capsule
[src]
pub fn new(
collider: DefaultColliderHandle,
colliders: &DefaultColliderSet<f32>,
delta: Isometry<f32>,
r: f32,
h: f32,
color: Point3<f32>,
window: &mut Window
) -> Capsule
[src]
collider: DefaultColliderHandle,
colliders: &DefaultColliderSet<f32>,
delta: Isometry<f32>,
r: f32,
h: f32,
color: Point3<f32>,
window: &mut Window
) -> Capsule
pub fn select(&mut self)
[src]
pub fn unselect(&mut self)
[src]
pub fn update(&mut self, colliders: &DefaultColliderSet<f32>)
[src]
pub fn set_color(&mut self, color: Point3<f32>)
[src]
pub fn scene_node(&self) -> &GraphicsNode
[src]
pub fn scene_node_mut(&mut self) -> &mut GraphicsNode
[src]
pub fn object(&self) -> DefaultColliderHandle
[src]
Auto Trait Implementations
impl Unpin for Capsule
impl !Sync for Capsule
impl !Send for Capsule
impl !UnwindSafe for Capsule
impl !RefUnwindSafe for Capsule
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
Sets value
as a parameter of self
.
impl<T> Downcast for T where
T: Any,
T: Any,