[][src]Struct spritec::math::Milliseconds

pub struct Milliseconds(_);

Methods

impl Milliseconds[src]

pub fn from_msec(value: f32) -> Self[src]

pub fn from_sec(value: f32) -> Self[src]

pub fn to_sec(self) -> f32[src]

pub fn to_msec(self) -> f32[src]

Trait Implementations

impl Clone for Milliseconds[src]

impl Copy for Milliseconds[src]

impl Debug for Milliseconds[src]

impl Default for Milliseconds[src]

impl<'de> Deserialize<'de> for Milliseconds[src]

impl PartialEq<Milliseconds> for Milliseconds[src]

impl PartialOrd<Milliseconds> for Milliseconds[src]

impl Serialize for Milliseconds[src]

impl StructuralPartialEq for Milliseconds[src]

Auto Trait Implementations

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> Content for T where
    T: Copy
[src]

type Owned = T

A type that holds a sized version of the content.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

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

impl<T> SetParameter for T

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.