Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
}
247
impl From<OtherEvent> for EventSummary {
248
fn from(event: OtherEvent) -> Self {
Callers
1
from
Method · 0.45
Calls
2
kind
Method · 0.80
value
Method · 0.80
Tested by
no test coverage detected