fn get_height_with<S>( fluid_state: FluidState, above_fluid: FluidState, same_fluid: S, ) -> f32where S: Fn(FluidState) -> bool,