pub trait Float: Sized {
// Required methods
fn round(self) -> Self;
fn floor(self) -> Self;
fn sin(self) -> Self;
fn cos(self) -> Self;
fn hypot(self, other: Self) -> Self;
fn rem_euclid(self, rhs: Self) -> Self;
}Expand description
The f32 methods the frame and the game call that need std.
Required Methods§
Sourcefn rem_euclid(self, rhs: Self) -> Self
fn rem_euclid(self, rhs: Self) -> Self
The least non-negative remainder of self / rhs.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".