#[non_exhaustive]pub struct LayerMesh {
pub mesh: TriMesh,
pub closure: MeshClosure,
}Expand description
One layer of a split Body, meshed.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.mesh: TriMeshWorld-space triangles in metres. Empty where the layer has no volume in the Body (a Body that does not reach it).
closure: MeshClosureTrait Implementations§
Auto Trait Implementations§
impl Freeze for LayerMesh
impl RefUnwindSafe for LayerMesh
impl Send for LayerMesh
impl Sync for LayerMesh
impl Unpin for LayerMesh
impl UnsafeUnpin for LayerMesh
impl UnwindSafe for LayerMesh
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