MCPcopy Create free account
hub / github.com/emberian/evdev / timestamp

Method timestamp

src/lib.rs:375–377  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

373 /// Returns the timestamp associated with the event.
374 #[inline]
375 pub fn timestamp(&self) -> SystemTime {
376 timeval_to_systime(&self.0.time)
377 }
378
379 /// Returns the type of event this describes, e.g. Key, Switch, etc.
380 #[inline]

Callers 2

fmtMethod · 0.45
fmtMethod · 0.45

Calls 1

timeval_to_systimeFunction · 0.85

Tested by

no test coverage detected