pub struct CapsuleShape { /* private fields */ }Expand description
CAPS — a capsule between two local points.
Implementations§
Source§impl CapsuleShape
impl CapsuleShape
pub fn local_position_1(&self) -> Vector3f
pub fn set_local_position_1(&mut self, value: Vector3f)
pub fn local_position_2(&self) -> Vector3f
pub fn set_local_position_2(&mut self, value: Vector3f)
pub fn radius(&self) -> f32
pub fn set_radius(&mut self, value: f32)
Trait Implementations§
Source§impl Debug for CapsuleShape
impl Debug for CapsuleShape
Source§impl Default for CapsuleShape
impl Default for CapsuleShape
Source§impl Drop for CapsuleShape
impl Drop for CapsuleShape
impl Send for CapsuleShape
Auto Trait Implementations§
impl !Sync for CapsuleShape
impl Freeze for CapsuleShape
impl RefUnwindSafe for CapsuleShape
impl Unpin for CapsuleShape
impl UnsafeUnpin for CapsuleShape
impl UnwindSafe for CapsuleShape
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