[][src]Struct streamdeck_rs::Coordinates

pub struct Coordinates {
    pub column: u8,
    pub row: u8,
}

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: u8

The x coordinate of the key.

row: u8

The y-coordinate of the key.

Trait Implementations

impl Debug for Coordinates[src]

impl<'de> Deserialize<'de> for Coordinates[src]

Auto Trait Implementations

impl Send for Coordinates

impl Sync for Coordinates

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]