MCPcopy Create free account
hub / github.com/OpenActionAPI/rust-elgato-streamdeck / StreamDeck

Class StreamDeck

src/lib.rs:108–115  ·  view source on GitHub ↗

Interface for a Stream Deck device

Source from the content-addressed store, hash-verified

106
107/// Interface for a Stream Deck device
108pub struct StreamDeck {
109 /// Kind of the device
110 kind: Kind,
111 /// Connected HIDDevice
112 device: HidDevice,
113 /// Temporarily cache the image before sending it to the device
114 image_cache: RwLock<Vec<ImageCache>>,
115}
116
117struct ImageCache {
118 key: u8,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected