Struct BuoyancyResult
#[repr(C)]pub struct BuoyancyResult {
pub buoyant_force_n: f32,
pub net_vertical_accel: f32,
pub submerged_volume_m3: f32,
pub water_depth_at_feet: f32,
pub state: SubmersionState,
}Expand description
Instantaneous buoyancy evaluation result.
Fields§
§buoyant_force_n: f32Upward Archimedes force in Newtons.
net_vertical_accel: f32Net vertical acceleration (m/s²) imparted to the body (buoyancy - gravity).
submerged_volume_m3: f32Displaced fluid volume in m³.
water_depth_at_feet: f32Depth of water relative to feet in meters.
state: SubmersionStateLocomotion category.
Trait Implementations§
§impl Clone for BuoyancyResult
impl Clone for BuoyancyResult
§fn clone(&self) -> BuoyancyResult
fn clone(&self) -> BuoyancyResult
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 BuoyancyResult
§impl Debug for BuoyancyResult
impl Debug for BuoyancyResult
§impl PartialEq for BuoyancyResult
impl PartialEq for BuoyancyResult
impl StructuralPartialEq for BuoyancyResult
Auto Trait Implementations§
impl Freeze for BuoyancyResult
impl RefUnwindSafe for BuoyancyResult
impl Send for BuoyancyResult
impl Sync for BuoyancyResult
impl Unpin for BuoyancyResult
impl UnsafeUnpin for BuoyancyResult
impl UnwindSafe for BuoyancyResult
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