Struct ilda::data::TrueColorPoint2d
[−]
[src]
pub struct TrueColorPoint2d { pub x: i16, pub y: i16, pub status_code: u8, pub b: u8, pub g: u8, pub r: u8, }
3D Coordinates with True Color (format 5)
Fields
x: i16
X coordinate
y: i16
Y coordinate
status_code: u8
Last point bit and blanking bit.
b: u8
Blue
g: u8
Green
r: u8
Red
Methods
impl TrueColorPoint2d
[src]
fn read_bytes(bytes: &[u8]) -> Result<Vec<TrueColorPoint2d>, IldaError>
Read multiple TrueColorPoint2d
from raw bytes.
fn is_blank(&self) -> bool
Whether the point is a blanking point.
Trait Implementations
impl Clone for TrueColorPoint2d
[src]
fn clone(&self) -> TrueColorPoint2d
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
impl Debug for TrueColorPoint2d
[src]
impl Default for TrueColorPoint2d
[src]
fn default() -> TrueColorPoint2d
Returns the "default value" for a type. Read more