Struct ilda::data::IndexedPoint2d
[−]
[src]
pub struct IndexedPoint2d { pub x: i16, pub y: i16, pub status_code: i8, pub color_index: i8, }
2D Coordinates with Indexed Color (format 1)
Fields
x: i16
y: i16
status_code: i8
color_index: i8
Methods
impl IndexedPoint2d
[src]
fn read_bytes(bytes: &[u8]) -> Result<Vec<IndexedPoint2d>, IldaError>
Read multiple IndexedPoint2d
from raw bytes.
Trait Implementations
impl Clone for IndexedPoint2d
[src]
fn clone(&self) -> IndexedPoint2d
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