pub enum Smoothness {
BatterySaver,
Balanced,
Smooth,
VerySmooth,
UltraSmooth,
}Expand description
Smoothness (PLAN.md section 5.3), capped by what GIF delays can express.
Variants§
Implementations§
Source§impl Smoothness
impl Smoothness
Sourcepub fn gif_delay_cs(self) -> u32
pub fn gif_delay_cs(self) -> u32
Target delay per frame in centiseconds: about 6, 12, 25, 33 and 50 fps.
Trait Implementations§
Source§impl Clone for Smoothness
impl Clone for Smoothness
impl Copy for Smoothness
Source§impl Debug for Smoothness
impl Debug for Smoothness
impl Eq for Smoothness
Source§impl PartialEq for Smoothness
impl PartialEq for Smoothness
impl StructuralPartialEq for Smoothness
Auto Trait Implementations§
impl Forget for Smoothness
impl Freeze for Smoothness
impl Move for Smoothness
impl RefUnwindSafe for Smoothness
impl Send for Smoothness
impl Sync for Smoothness
impl Unpin for Smoothness
impl UnsafeUnpin for Smoothness
impl UnwindSafe for Smoothness
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