Struct streamdeck_rs::Coordinates
source · pub struct Coordinates {
pub column: u8,
pub row: u8,
}Expand description
The location of a key on a device.
Locations are specified using zero-indexed values starting from the top left corner of the device.
Fields§
§column: u8The x coordinate of the key.
row: u8The y-coordinate of the key.
Trait Implementations§
source§impl Debug for Coordinates
impl Debug for Coordinates
source§impl<'de> Deserialize<'de> for Coordinates
impl<'de> Deserialize<'de> for Coordinates
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more