[][src]Struct libpulse_binding::time::MicroSeconds

pub struct MicroSeconds(pub u64);

Microseconds. This is an unsigned 64-bit type.

Methods

impl MicroSeconds[src]

pub fn is_valid(&self) -> bool[src]

pub fn checked_add(self, other: Self) -> Option<Self>[src]

pub fn checked_add_duration(self, rhs: Duration) -> Option<Self>[src]

pub fn checked_sub(self, other: Self) -> Option<Self>[src]

pub fn checked_sub_duration(self, rhs: Duration) -> Option<Self>[src]

pub fn checked_mul(self, rhs: u32) -> Option<Self>[src]

pub fn checked_div(self, rhs: u32) -> Option<Self>[src]

pub fn checked_rem(self, rhs: u32) -> Option<Self>[src]

Trait Implementations

impl Copy for MicroSeconds[src]

impl Default for MicroSeconds[src]

impl Ord for MicroSeconds[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl Clone for MicroSeconds[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<MicroSeconds> for MicroSeconds[src]

impl From<Timeval> for MicroSeconds[src]

impl From<MicroSeconds> for Timeval[src]

impl From<Duration> for MicroSeconds[src]

impl From<MicroSeconds> for Duration[src]

impl Eq for MicroSeconds[src]

impl PartialOrd<MicroSeconds> for MicroSeconds[src]

impl Debug for MicroSeconds[src]

impl Display for MicroSeconds[src]

impl Add<MicroSeconds> for MicroSeconds[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<Duration> for MicroSeconds[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<MicroSeconds> for MonotonicTs[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<MicroSeconds> for Timeval[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<MicroSeconds> for UnixTs[src]

type Output = Self

The resulting type after applying the + operator.

impl Sub<MicroSeconds> for MicroSeconds[src]

type Output = Self

The resulting type after applying the - operator.

impl Sub<Duration> for MicroSeconds[src]

type Output = Self

The resulting type after applying the - operator.

impl Sub<MicroSeconds> for MonotonicTs[src]

type Output = Self

The resulting type after applying the - operator.

impl Sub<MicroSeconds> for Timeval[src]

type Output = Self

The resulting type after applying the - operator.

impl Sub<MicroSeconds> for UnixTs[src]

type Output = Self

The resulting type after applying the - operator.

impl Mul<u32> for MicroSeconds[src]

type Output = Self

The resulting type after applying the * operator.

impl Div<u32> for MicroSeconds[src]

type Output = Self

The resulting type after applying the / operator.

impl Rem<u32> for MicroSeconds[src]

type Output = Self

The resulting type after applying the % operator.

impl AddAssign<MicroSeconds> for MicroSeconds[src]

impl AddAssign<Duration> for MicroSeconds[src]

impl AddAssign<MicroSeconds> for MonotonicTs[src]

impl AddAssign<MicroSeconds> for Timeval[src]

impl AddAssign<MicroSeconds> for UnixTs[src]

impl SubAssign<MicroSeconds> for MicroSeconds[src]

impl SubAssign<Duration> for MicroSeconds[src]

impl SubAssign<MicroSeconds> for MonotonicTs[src]

impl SubAssign<MicroSeconds> for Timeval[src]

impl SubAssign<MicroSeconds> for UnixTs[src]

impl MulAssign<u32> for MicroSeconds[src]

impl DivAssign<u32> for MicroSeconds[src]

impl RemAssign<u32> for MicroSeconds[src]

Auto Trait Implementations

Blanket Implementations

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> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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