Struct evdev_rs::TimeVal[][src]

pub struct TimeVal {
    pub tv_sec: c_long,
    pub tv_usec: c_long,
}

Fields

tv_sec: c_longtv_usec: c_long

Implementations

impl TimeVal[src]

pub fn new(tv_sec: c_long, tv_usec: c_long) -> TimeVal[src]

pub fn from_raw(timeval: &timeval) -> TimeVal[src]

pub fn as_raw(&self) -> timeval[src]

Trait Implementations

impl Clone for TimeVal[src]

impl Debug for TimeVal[src]

impl PartialEq<TimeVal> for TimeVal[src]

impl StructuralPartialEq for TimeVal[src]

impl TryFrom<SystemTime> for TimeVal[src]

type Error = SystemTimeError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for TimeVal

impl Send for TimeVal

impl Sync for TimeVal

impl Unpin for TimeVal

impl UnwindSafe for TimeVal

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

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, 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.