Struct ilda::animation::Point
[−]
[src]
pub struct Point { pub x: i16, pub y: i16, pub r: u8, pub g: u8, pub b: u8, }
A single coordinate point for the laser to draw.
Fields
x: i16
X coordinate.
y: i16
Y coordinate.
r: u8
Red.
g: u8
Green.
b: u8
Blue.
Trait Implementations
impl Clone for Point
[src]
fn clone(&self) -> Point
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more