pub struct Coupling {
pub unit_a: u64,
pub unit_b: u64,
pub strength: f32,
pub kind: CouplingKind,
}Expand description
A detected coupling between two units.
Fields§
§unit_a: u64First unit.
unit_b: u64Second unit.
strength: f32Coupling strength (0.0–1.0).
kind: CouplingKindKind of coupling.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Coupling
impl RefUnwindSafe for Coupling
impl Send for Coupling
impl Sync for Coupling
impl Unpin for Coupling
impl UnsafeUnpin for Coupling
impl UnwindSafe for Coupling
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