Struct oyk::ode::meta::MetaSphere
source · pub struct MetaSphere {
pub m: dReal,
pub r: dReal,
pub bounce: dReal,
pub tcm: TCMaterial,
}
Expand description
MetaSphere
Fields§
§m: dReal
mass
r: dReal
radius
bounce: dReal
bounce
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_bounce(&self) -> dReal
fn get_bounce(&self) -> dReal
every struct has bounce
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_composite(&self) -> &MetaComposite
fn as_composite(&self) -> &MetaComposite
as MetaComposite
Auto Trait Implementations§
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