Struct nix::sys::time::TimeSpec [] [src]

#[repr(C)]
pub struct TimeSpec(_);

Methods

impl TimeSpec
[src]

[src]

[src]

Trait Implementations

impl Clone for TimeSpec
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for TimeSpec
[src]

impl AsRef<timespec> for TimeSpec
[src]

[src]

Performs the conversion.

impl Debug for TimeSpec
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for TimeSpec
[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 TimeSpec
[src]

impl Ord for TimeSpec
[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 TimeSpec
[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 TimeValLike for TimeSpec
[src]

[src]

[src]

[src]

Makes a new TimeSpec with given number of microseconds.

[src]

Makes a new TimeSpec with given number of nanoseconds.

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

impl Neg for TimeSpec
[src]

The resulting type after applying the - operator.

[src]

Performs the unary - operation.

impl Add for TimeSpec
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Sub for TimeSpec
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Mul<i32> for TimeSpec
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Div<i32> for TimeSpec
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Display for TimeSpec
[src]

[src]

Formats the value using the given formatter. Read more