Struct otter_api_tests::shapelib::TimeSpec[]

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

Implementations

impl TimeSpec

pub fn tv_sec(&self) -> i64

pub fn tv_nsec(&self) -> i64

Trait Implementations

impl Add<TimeSpec> for TimeSpec

type Output = TimeSpec

The resulting type after applying the + operator.

impl AsMut<timespec> for TimeSpec

impl AsRef<timespec> for TimeSpec

impl Clone for TimeSpec

impl Copy for TimeSpec

impl Debug for TimeSpec

impl Display for TimeSpec

impl Div<i32> for TimeSpec

type Output = TimeSpec

The resulting type after applying the / operator.

impl Eq for TimeSpec

impl From<Duration> for TimeSpec

impl From<TimeSpec> for Duration

impl From<timespec> for TimeSpec

impl Hash for TimeSpec

impl Mul<i32> for TimeSpec

type Output = TimeSpec

The resulting type after applying the * operator.

impl Neg for TimeSpec

type Output = TimeSpec

The resulting type after applying the - operator.

impl Ord for TimeSpec

impl PartialEq<TimeSpec> for TimeSpec

impl PartialOrd<TimeSpec> for TimeSpec

impl StructuralEq for TimeSpec

impl StructuralPartialEq for TimeSpec

impl Sub<TimeSpec> for TimeSpec

type Output = TimeSpec

The resulting type after applying the - operator.

impl TimeValLike for TimeSpec

pub fn microseconds(microseconds: i64) -> TimeSpec

Makes a new TimeSpec with given number of microseconds.

pub fn nanoseconds(nanoseconds: i64) -> TimeSpec

Makes a new TimeSpec with given number of nanoseconds.

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> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<A> DynCastExt for A

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> OrdExt<T> for T where
    T: Ord + Clone
[src]

impl<T> RuleType for T where
    T: Copy + Debug + Eq + Hash + Ord
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,