pub struct Gif {
pub palette: Vec<u8>,
pub transparency: Option<u8>,
pub width: u16,
pub height: u16,
pub images: Vec<Vec<u8>>,
pub loops: Option<u16>,
pub delay: u16,
}Expand description
Struct representing an animated Gif
Fields§
§palette: Vec<u8>§transparency: Option<u8>§width: u16§height: u16§images: Vec<Vec<u8>>§loops: Option<u16>§delay: u16Implementations§
Trait Implementations§
impl Eq for Gif
impl StructuralPartialEq for Gif
Auto Trait Implementations§
impl Freeze for Gif
impl RefUnwindSafe for Gif
impl Send for Gif
impl Sync for Gif
impl Unpin for Gif
impl UnwindSafe for Gif
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more