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

Method from

src/event_variants.rs:248–251  ·  view source on GitHub ↗
(event: OtherEvent)

Source from the content-addressed store, hash-verified

246}
247impl From<OtherEvent> for EventSummary {
248 fn from(event: OtherEvent) -> Self {
249 let (kind, value) = event.destructure();
250 EventSummary::Other(event, kind, value)
251 }
252}
253impl fmt::Debug for OtherEvent {
254 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {

Callers

nothing calls this directly

Calls 1

destructureMethod · 0.45

Tested by

no test coverage detected