pub struct Frame<'a> { /* private fields */ }
Expand description
A reference to a single frame.
Implementations§
source§impl<'a> Frame<'a>
impl<'a> Frame<'a>
sourcepub fn image(&self) -> RgbaImage
pub fn image(&self) -> RgbaImage
Construct the image belonging to the specific animation frame. Combines layers according to their blend mode. Skips invisible layers (i.e., layers with a deactivated eye icon).
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Frame<'a>
impl<'a> RefUnwindSafe for Frame<'a>
impl<'a> Send for Frame<'a>
impl<'a> Sync for Frame<'a>
impl<'a> Unpin for Frame<'a>
impl<'a> UnwindSafe for Frame<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more