Struct oyk::ode::meta::MetaSphere
source · pub struct MetaSphere {
pub dm: dReal,
pub r: dReal,
pub krp: Krp,
pub tcm: TCMaterial,
}
Expand description
MetaSphere
Fields§
§dm: dReal
mass density
r: dReal
radius
krp: Krp
krp
tcm: TCMaterial
material
Implementations§
Trait Implementations§
source§impl Clone for MetaSphere
impl Clone for MetaSphere
source§fn clone(&self) -> MetaSphere
fn clone(&self) -> MetaSphere
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl MetaInf for MetaSphere
impl MetaInf for MetaSphere
source§fn get_krp_mut(&mut self) -> &mut Krp
fn get_krp_mut(&mut self) -> &mut Krp
every struct has krp
source§fn get_tcm_mut(&mut self) -> &mut TCMaterial
fn get_tcm_mut(&mut self) -> &mut TCMaterial
every struct has tcm
source§fn get_tcm(&self) -> &TCMaterial
fn get_tcm(&self) -> &TCMaterial
every struct has tcm
source§fn as_sphere(&self) -> &MetaSphere
fn as_sphere(&self) -> &MetaSphere
as MetaSphere
source§fn as_capsule(&self) -> &MetaCapsule
fn as_capsule(&self) -> &MetaCapsule
as MetaCapsule
source§fn as_cylinder(&self) -> &MetaCylinder
fn as_cylinder(&self) -> &MetaCylinder
as MetaCylinder
source§fn as_convex(&self) -> &MetaConvex
fn as_convex(&self) -> &MetaConvex
as MetaConvex
source§fn as_trimesh(&self) -> &MetaTriMesh
fn as_trimesh(&self) -> &MetaTriMesh
as MetaTriMesh
source§fn as_composite(&self) -> &MetaComposite
fn as_composite(&self) -> &MetaComposite
as MetaComposite
Auto Trait Implementations§
impl Freeze for MetaSphere
impl RefUnwindSafe for MetaSphere
impl Send for MetaSphere
impl Sync for MetaSphere
impl Unpin for MetaSphere
impl UnwindSafe for MetaSphere
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