pub struct StreamDeck { /* private fields */ }
Expand description

Interface for a Stream Deck device

Implementations

Static functions of the struct

Attempts to connect to the device

Instance methods of the struct

Returns kind of the Stream Deck

Returns manufacturer string of the device

Returns product string of the device

Returns serial number of the device

Returns firmware version of the StreamDeck

Reads button states, empty vector if no data. Non-blocking if no timeout

Resets the device

Sets brightness of the device, value range is 0 - 100

Writes image data to Stream Deck device

Sets button’s image to blank

Sets specified button’s image

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.