[][src]Struct libeyelink_sys::IMAGE_PALDATA

#[repr(C)]pub struct IMAGE_PALDATA {
    pub palette_id: byte,
    pub ncolors: byte,
    pub camera: byte,
    pub threshold: byte,
    pub flags: UINT16,
    pub image_number: UINT16,
    pub extra: [byte; 10],
    pub rfirst_color: byte,
    pub rfirst_brite: byte,
    pub rlast_color: byte,
    pub rlast_brite: byte,
    pub nspecial: INT16,
    pub spcolors: [IMAGE_PALDATA__bindgen_ty_1; 6],
}

@internal

image data and palette structure uses brightness ramp plus special colors to compress and make remapping easier fits in old palette's 48-byte area

Fields

palette_id: bytencolors: bytecamera: bytethreshold: byteflags: UINT16image_number: UINT16extra: [byte; 10]rfirst_color: byterfirst_brite: byterlast_color: byterlast_brite: bytenspecial: INT16spcolors: [IMAGE_PALDATA__bindgen_ty_1; 6]

Trait Implementations

impl Clone for IMAGE_PALDATA[src]

impl Copy for IMAGE_PALDATA[src]

impl Debug for IMAGE_PALDATA[src]

impl Default for IMAGE_PALDATA[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.