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

Method destructure

src/event_variants.rs:243–245  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

241 OtherCode(self.event_type().0, self.code())
242 }
243 pub fn destructure(&self) -> (OtherCode, i32) {
244 (self.kind(), self.value())
245 }
246}
247impl From<OtherEvent> for EventSummary {
248 fn from(event: OtherEvent) -> Self {

Callers 1

fromMethod · 0.45

Calls 2

kindMethod · 0.80
valueMethod · 0.80

Tested by

no test coverage detected