use crateObject2d;
/// A trait for applying forces to 2D objects.
///
/// # Examples
///
/// Implementing the `Force` trait for a custom force:
///
/// ```
/// struct Gravity;
///
/// impl Force for Gravity {
/// fn apply_2d(&mut self, obj: &Object2d) {
/// // Apply gravitational force to obj
/// }
/// }
///
/// ```
///
/// # Methods
///
/// - `apply_2d(&self, obj: &mut Object2d)`: Applies a force to a 2D object.