Struct libpulse_binding::timeval::Timeval [] [src]

#[repr(C)]
pub struct Timeval(pub timeval);

Wrapper for libc::timeval, providing trait impls Warning, this must remain directly transmutable with the inner libc::timeval

Methods

impl Timeval
[src]

Important traits for &'a mut W
[src]

Obtain the current wallclock timestamp, just like UNIX gettimeofday().

[src]

Calculate the difference between the two specified timeval structs.

[src]

Return the time difference between now and self

[src]

Add the specified time in microseconds

[src]

Subtract the specified time in microseconds

[src]

Set the specified usec value

Trait Implementations

impl Copy for Timeval
[src]

impl Clone for Timeval
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Timeval
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for Timeval
[src]

impl Ord for Timeval
[src]

[src]

This method returns an Ordering between self and other. Read more

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl PartialOrd for Timeval
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Debug for Timeval
[src]

[src]

Formats the value using the given formatter. Read more

impl From<Timeval> for MicroSeconds
[src]

[src]

Performs the conversion.

impl From<MicroSeconds> for Timeval
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Timeval

impl Sync for Timeval