pub struct MetaConvex {
pub ff: bool,
pub dm: f64,
pub fvp: *mut convexfvp,
pub krp: Krp,
pub tcm: TCMaterial,
}
Expand description
MetaConvex
Fields§
§ff: bool
free flag
dm: f64
mass density
fvp: *mut convexfvp
convexfvp *** CAUTION how to clone ***
krp: Krp
krp
tcm: TCMaterial
material
Implementations§
Trait Implementations§
Source§impl Clone for MetaConvex
impl Clone for MetaConvex
Source§fn clone(&self) -> MetaConvex
fn clone(&self) -> MetaConvex
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 Drop for MetaConvex
impl Drop for MetaConvex
Source§impl MetaInf for MetaConvex
impl MetaInf for MetaConvex
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_convex(&self) -> &MetaConvex
fn as_convex(&self) -> &MetaConvex
as MetaConvex
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_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 MetaConvex
impl RefUnwindSafe for MetaConvex
impl !Send for MetaConvex
impl !Sync for MetaConvex
impl Unpin for MetaConvex
impl UnwindSafe for MetaConvex
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