[][src]Struct yaged::types::Frame

pub struct Frame { /* fields omitted */ }

Implementations

impl Frame[src]

pub fn image_descriptor(&self) -> &ImageDescriptor[src]

pub fn local_color_map(&self) -> &Option<ColorMap>[src]

pub fn raster_data(&self) -> &Vec<u8>[src]

Normal ColorMap index color mapping. Color maps / graphic control extension block usage is necessary to retrieve the pixel colors in rgba.

pub fn rgba_raster_data(&self) -> &Option<Vec<u8>>[src]

This is not a gif89a specification field, present only if requested in the decoding process. Every byte of the raster data expanded to 4 bytes (R G B A). Color maps / graphic control extension block has already been used internally to obtain this raster data representation.

pub fn graphic_control_extension(&self) -> &Option<GraphicControlExtension>[src]

pub fn new(
    image_descriptor: ImageDescriptor,
    local_color_map: Option<ColorMap>,
    raster_data: Vec<u8>,
    rgba_raster_data: Option<Vec<u8>>,
    graphic_control_extension: Option<GraphicControlExtension>
) -> Self
[src]

Trait Implementations

impl Debug for Frame[src]

Auto Trait Implementations

impl RefUnwindSafe for Frame

impl Send for Frame

impl Sync for Frame

impl Unpin for Frame

impl UnwindSafe for Frame

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, 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.