pub struct SphSolidCollider { /* private fields */ }Expand description
Composable solid collider enforcing particle containment or obstacle exclusion with friction and restitution.
Implementations§
Source§impl SphSolidCollider
Implements impl #impl_generics #name #ty_generics #where_clause.
impl SphSolidCollider
Implements impl #impl_generics #name #ty_generics #where_clause.
pub fn get_shape(&self) -> SphColliderShape
pub fn get_mut_shape(&mut self) -> &mut SphColliderShape
pub fn set_shape(&mut self, val: SphColliderShape) -> &mut Self
pub fn get_friction(&self) -> f32
pub fn get_mut_friction(&mut self) -> &mut f32
pub fn set_friction(&mut self, val: f32) -> &mut Self
pub fn get_restitution(&self) -> f32
pub fn get_mut_restitution(&mut self) -> &mut f32
pub fn set_restitution(&mut self, val: f32) -> &mut Self
pub fn get_enabled(&self) -> bool
pub fn get_mut_enabled(&mut self) -> &mut bool
pub fn set_enabled(&mut self, val: bool) -> &mut Self
Source§impl SphSolidCollider
Implements impl #impl_generics #name #ty_generics #where_clause.
impl SphSolidCollider
Implements impl #impl_generics #name #ty_generics #where_clause.
Trait Implementations§
Source§impl Clone for SphSolidCollider
impl Clone for SphSolidCollider
impl Copy for SphSolidCollider
Source§impl Debug for SphSolidCollider
impl Debug for SphSolidCollider
Source§impl PartialEq for SphSolidCollider
impl PartialEq for SphSolidCollider
impl StructuralPartialEq for SphSolidCollider
Auto Trait Implementations§
impl Forget for SphSolidCollider
impl Freeze for SphSolidCollider
impl Move for SphSolidCollider
impl RefUnwindSafe for SphSolidCollider
impl Send for SphSolidCollider
impl Sync for SphSolidCollider
impl Unpin for SphSolidCollider
impl UnsafeUnpin for SphSolidCollider
impl UnwindSafe for SphSolidCollider
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