Struct spinoso_math::Math[][src]

pub struct Math { /* fields omitted */ }

A handle to the Math module.

This is a copy zero-sized type with no associated methods. This type exists so a Ruby VM can attempt to unbox this type and statically dispatch to functions defined in this crate.


const MATH: Math = Math::new();


impl Math[src]

#[must_use]pub const fn new() -> Self[src]

Constructs a new, default Math.


const MATH: Math = Math::new();

Trait Implementations

impl Clone for Math[src]

impl Copy for Math[src]

impl Debug for Math[src]

impl Default for Math[src]

impl Eq for Math[src]

impl Hash for Math[src]

impl Ord for Math[src]

impl PartialEq<Math> for Math[src]

impl PartialOrd<Math> for Math[src]

impl StructuralEq for Math[src]

impl StructuralPartialEq for Math[src]

Auto Trait Implementations

impl RefUnwindSafe for Math

impl Send for Math

impl Sync for Math

impl Unpin for Math

impl UnwindSafe for Math

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.