[][src]Struct spinoso_math::Math

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.

Examples

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

Implementations

impl Math[src]

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

Constructs a new, default Math.

Examples

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[src]

impl Send for Math[src]

impl Sync for Math[src]

impl Unpin for Math[src]

impl UnwindSafe for Math[src]

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.