[][src]Struct png::FrameControl

pub struct FrameControl {
    pub sequence_number: u32,
    pub width: u32,
    pub height: u32,
    pub x_offset: u32,
    pub y_offset: u32,
    pub delay_num: u16,
    pub delay_den: u16,
    pub dispose_op: DisposeOp,
    pub blend_op: BlendOp,
}

Frame control information

Fields

sequence_number: u32

Sequence number of the animation chunk, starting from 0

width: u32

Width of the following frame

height: u32

Height of the following frame

x_offset: u32

X position at which to render the following frame

y_offset: u32

Y position at which to render the following frame

delay_num: u16

Frame delay fraction numerator

delay_den: u16

Frame delay fraction denominator

dispose_op: DisposeOp

Type of frame area disposal to be done after rendering this frame

blend_op: BlendOp

Type of frame area rendering for this frame

Implementations

impl FrameControl[src]

pub fn set_seq_num(&mut self, s: u32)[src]

pub fn inc_seq_num(&mut self, i: u32)[src]

Trait Implementations

impl Clone for FrameControl[src]

impl Copy for FrameControl[src]

impl Debug for FrameControl[src]

impl Default for FrameControl[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.