pub struct MetaBox {
pub dm: f64,
pub lxyz: [f64; 4],
pub krp: Krp,
pub tcm: TCMaterial,
}
Expand description
MetaBox
Fields§
§dm: f64
mass density
lxyz: [f64; 4]
lxyz
krp: Krp
krp
tcm: TCMaterial
material
Implementations§
Trait Implementations§
Source§impl MetaInf for MetaBox
impl MetaInf for MetaBox
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 MetaBox
impl RefUnwindSafe for MetaBox
impl Send for MetaBox
impl Sync for MetaBox
impl Unpin for MetaBox
impl UnwindSafe for MetaBox
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