Struct engiffen::Gif
[−]
[src]
pub struct Gif { pub palette: Vec<u8>, pub transparency: Option<u8>, pub width: u16, pub height: u16, pub images: Vec<Vec<u8>>, pub delay: u16, }
Struct representing an animated Gif
Fields
palette: Vec<u8>
transparency: Option<u8>
width: u16
height: u16
images: Vec<Vec<u8>>
delay: u16
Methods
impl Gif
[src]
Trait Implementations
impl Eq for Gif
[src]
impl PartialEq for Gif
[src]
fn eq(&self, __arg_0: &Gif) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Gif) -> bool
This method tests for !=
.
impl Clone for Gif
[src]
fn clone(&self) -> Gif
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Hash for Gif
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more