pub struct ContinuantState {
pub id: String,
pub pose: Pose,
pub material: MaterialSignature,
pub mass_kg: f64,
pub is_solid: bool,
pub is_crushed: bool,
pub current_temperature_k: f64,
}Expand description
State of an embodied continuant in the physical simulation.
Fields§
§id: String§pose: Pose§material: MaterialSignature§mass_kg: f64§is_solid: bool§is_crushed: bool§current_temperature_k: f64Trait Implementations§
Source§impl Clone for ContinuantState
impl Clone for ContinuantState
Source§impl Debug for ContinuantState
impl Debug for ContinuantState
Source§impl PartialEq for ContinuantState
impl PartialEq for ContinuantState
impl StructuralPartialEq for ContinuantState
Auto Trait Implementations§
impl Freeze for ContinuantState
impl RefUnwindSafe for ContinuantState
impl Send for ContinuantState
impl Sync for ContinuantState
impl Unpin for ContinuantState
impl UnsafeUnpin for ContinuantState
impl UnwindSafe for ContinuantState
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