pub struct Math {}Implementations§
Source§impl Math
impl Math
pub const PI: f32 = 3.14159274f32
pub fn abs(v: f64) -> f64
pub fn acos(v: f32) -> f32
pub fn asin(v: f32) -> f32
pub fn atan(v: f32) -> f32
pub fn atan2(y: f32, x: f32) -> f32
pub fn ceil(v: f32) -> f32
pub fn cos(v: f32) -> f32
pub fn deg(v: f32) -> f32
pub fn exp(v: f32) -> f32
pub fn floor(v: f32) -> f32
pub fn fmod(x: f32, y: f32) -> f32
pub fn log(v: f32) -> f32
pub fn rad(v: f32) -> f32
pub fn sin(v: f32) -> f32
pub fn sqrt(v: f32) -> f32
pub fn tan(v: f32) -> f32
Auto Trait Implementations§
impl Freeze for Math
impl RefUnwindSafe for Math
impl Send for Math
impl Sync for Math
impl Unpin for Math
impl UnwindSafe for Math
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