[−][src]Struct libpulse_binding::time::MicroSeconds
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 Clone for MicroSeconds
[src]
fn clone(&self) -> MicroSeconds
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Ord for MicroSeconds
[src]
fn cmp(&self, other: &MicroSeconds) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
fn clamp(self, min: Self, max: Self) -> Self
[src]
clamp
)Restrict a value to a certain interval. Read more
impl Default for MicroSeconds
[src]
fn default() -> MicroSeconds
[src]
impl From<Timeval> for MicroSeconds
[src]
impl From<MicroSeconds> for Timeval
[src]
fn from(t: MicroSeconds) -> Self
[src]
impl From<Duration> for MicroSeconds
[src]
impl From<MicroSeconds> for Duration
[src]
fn from(t: MicroSeconds) -> Self
[src]
impl PartialOrd<MicroSeconds> for MicroSeconds
[src]
fn partial_cmp(&self, other: &MicroSeconds) -> Option<Ordering>
[src]
fn lt(&self, other: &MicroSeconds) -> bool
[src]
fn le(&self, other: &MicroSeconds) -> bool
[src]
fn gt(&self, other: &MicroSeconds) -> bool
[src]
fn ge(&self, other: &MicroSeconds) -> bool
[src]
impl PartialEq<MicroSeconds> for MicroSeconds
[src]
fn eq(&self, other: &MicroSeconds) -> bool
[src]
fn ne(&self, other: &MicroSeconds) -> bool
[src]
impl Copy for MicroSeconds
[src]
impl Eq for MicroSeconds
[src]
impl Display for MicroSeconds
[src]
impl Debug for MicroSeconds
[src]
impl Div<u32> for MicroSeconds
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, rhs: u32) -> Self
[src]
impl Add<MicroSeconds> for MicroSeconds
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: Self) -> Self
[src]
impl Add<Duration> for MicroSeconds
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: Duration) -> Self
[src]
impl Add<MicroSeconds> for MonotonicTs
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: MicroSeconds) -> Self
[src]
impl Add<MicroSeconds> for Timeval
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: MicroSeconds) -> Self
[src]
impl Add<MicroSeconds> for UnixTs
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: MicroSeconds) -> Self
[src]
impl Sub<MicroSeconds> for MicroSeconds
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: Self) -> Self
[src]
impl Sub<Duration> for MicroSeconds
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: Duration) -> Self
[src]
impl Sub<MicroSeconds> for MonotonicTs
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: MicroSeconds) -> Self
[src]
impl Sub<MicroSeconds> for Timeval
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: MicroSeconds) -> Self
[src]
impl Sub<MicroSeconds> for UnixTs
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: MicroSeconds) -> Self
[src]
impl Mul<u32> for MicroSeconds
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: u32) -> Self
[src]
impl Rem<u32> for MicroSeconds
[src]
type Output = Self
The resulting type after applying the %
operator.
fn rem(self, rhs: u32) -> Self
[src]
impl AddAssign<MicroSeconds> for MicroSeconds
[src]
fn add_assign(&mut self, rhs: Self)
[src]
impl AddAssign<Duration> for MicroSeconds
[src]
fn add_assign(&mut self, rhs: Duration)
[src]
impl AddAssign<MicroSeconds> for MonotonicTs
[src]
fn add_assign(&mut self, rhs: MicroSeconds)
[src]
impl AddAssign<MicroSeconds> for Timeval
[src]
fn add_assign(&mut self, rhs: MicroSeconds)
[src]
impl AddAssign<MicroSeconds> for UnixTs
[src]
fn add_assign(&mut self, rhs: MicroSeconds)
[src]
impl SubAssign<MicroSeconds> for MicroSeconds
[src]
fn sub_assign(&mut self, rhs: Self)
[src]
impl SubAssign<Duration> for MicroSeconds
[src]
fn sub_assign(&mut self, rhs: Duration)
[src]
impl SubAssign<MicroSeconds> for MonotonicTs
[src]
fn sub_assign(&mut self, rhs: MicroSeconds)
[src]
impl SubAssign<MicroSeconds> for Timeval
[src]
fn sub_assign(&mut self, rhs: MicroSeconds)
[src]
impl SubAssign<MicroSeconds> for UnixTs
[src]
fn sub_assign(&mut self, rhs: MicroSeconds)
[src]
impl MulAssign<u32> for MicroSeconds
[src]
fn mul_assign(&mut self, rhs: u32)
[src]
impl DivAssign<u32> for MicroSeconds
[src]
fn div_assign(&mut self, rhs: u32)
[src]
impl RemAssign<u32> for MicroSeconds
[src]
fn rem_assign(&mut self, rhs: u32)
[src]
Auto Trait Implementations
impl Sync for MicroSeconds
impl Send for MicroSeconds
impl Unpin for MicroSeconds
impl RefUnwindSafe for MicroSeconds
impl UnwindSafe for MicroSeconds
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,