[][src]Struct loopers_common::api::FrameTime

pub struct FrameTime(pub i64);

Implementations

impl FrameTime[src]

pub fn from_ms(ms: f64) -> FrameTime[src]

pub fn to_ms(&self) -> f64[src]

pub fn to_waveform(&self) -> i64[src]

Trait Implementations

impl Add<FrameTime> for FrameTime[src]

type Output = FrameTime

The resulting type after applying the + operator.

impl Clone for FrameTime[src]

impl Copy for FrameTime[src]

impl Debug for FrameTime[src]

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

impl<__RhsT> Div<__RhsT> for FrameTime where
    i64: Div<__RhsT, Output = i64>, 
[src]

type Output = FrameTime

The resulting type after applying the / operator.

impl Eq for FrameTime[src]

impl Hash for FrameTime[src]

impl<__RhsT> Mul<__RhsT> for FrameTime where
    i64: Mul<__RhsT, Output = i64>, 
[src]

type Output = FrameTime

The resulting type after applying the * operator.

impl Ord for FrameTime[src]

impl PartialEq<FrameTime> for FrameTime[src]

impl PartialOrd<FrameTime> for FrameTime[src]

impl Serialize for FrameTime[src]

impl StructuralEq for FrameTime[src]

impl StructuralPartialEq for FrameTime[src]

impl Sub<FrameTime> for FrameTime[src]

type Output = FrameTime

The resulting type after applying the - operator.

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,