pub struct LedPosition {
pub id: u32,
pub cx: f64,
pub cy: f64,
}Expand description
Position of an LED on a device, as reported by the SDK.
Fields§
§id: u32LED locally-unique identifier.
cx: f64X coordinate (center).
cy: f64Y coordinate (center).
Trait Implementations§
Source§impl Clone for LedPosition
impl Clone for LedPosition
Source§fn clone(&self) -> LedPosition
fn clone(&self) -> LedPosition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LedPosition
impl Debug for LedPosition
impl Copy for LedPosition
Auto Trait Implementations§
impl Freeze for LedPosition
impl RefUnwindSafe for LedPosition
impl Send for LedPosition
impl Sync for LedPosition
impl Unpin for LedPosition
impl UnwindSafe for LedPosition
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more