[−][src]Struct png::FrameControl
Frame control information
Fields
sequence_number: u32Sequence number of the animation chunk, starting from 0
width: u32Width of the following frame
height: u32Height of the following frame
x_offset: u32X position at which to render the following frame
y_offset: u32Y position at which to render the following frame
delay_num: u16Frame delay fraction numerator
delay_den: u16Frame delay fraction denominator
dispose_op: DisposeOpType of frame area disposal to be done after rendering this frame
blend_op: BlendOpType of frame area rendering for this frame
Methods
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 Default for FrameControl[src]
fn default() -> FrameControl[src]
impl Clone for FrameControl[src]
fn clone(&self) -> FrameControl[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for FrameControl[src]
impl Debug for FrameControl[src]
Auto Trait Implementations
impl Send for FrameControl
impl Unpin for FrameControl
impl Sync for FrameControl
impl UnwindSafe for FrameControl
impl RefUnwindSafe for FrameControl
Blanket Implementations
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,