Struct FractureOutcome3D
#[repr(C)]pub struct FractureOutcome3D {
pub debris_positive: RigidBody3D,
pub debris_negative: RigidBody3D,
pub cleavage_normal_local: [f32; 3],
pub cleavage_dist_local: f32,
}Expand description
Result of splitting a RigidBody3D along a principal tensile stress cleavage plane.
Fields§
§debris_positive: RigidBody3DPositive half-space child debris body ($\mathbf{n} \cdot \mathbf{p} \ge d_0$).
debris_negative: RigidBody3DNegative half-space child debris body ($\mathbf{n} \cdot \mathbf{p} < d_0$).
cleavage_normal_local: [f32; 3]Cleavage plane unit normal in local space.
cleavage_dist_local: f32Cleavage plane signed offset $d_0$ in local space.
Trait Implementations§
§impl Clone for FractureOutcome3D
impl Clone for FractureOutcome3D
§fn clone(&self) -> FractureOutcome3D
fn clone(&self) -> FractureOutcome3D
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FractureOutcome3D
§impl Debug for FractureOutcome3D
impl Debug for FractureOutcome3D
§impl PartialEq for FractureOutcome3D
impl PartialEq for FractureOutcome3D
impl StructuralPartialEq for FractureOutcome3D
Auto Trait Implementations§
impl Freeze for FractureOutcome3D
impl RefUnwindSafe for FractureOutcome3D
impl Send for FractureOutcome3D
impl Sync for FractureOutcome3D
impl Unpin for FractureOutcome3D
impl UnsafeUnpin for FractureOutcome3D
impl UnwindSafe for FractureOutcome3D
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