Enum rog_anime::AnimTime [−][src]
Expand description
Defines the time or animation cycle count to use for a gif
Variants
Time(Duration)
Tuple Fields
0: Duration
Time in milliseconds for animation to run
Count(u32)
Tuple Fields
0: u32
How many full animation loops to run or how many seconds if image is static
Infinite
Run for infinite time
Fade(Fade)
Tuple Fields
0: Fade
Fade in, play for, fade out
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for AnimTime
impl UnwindSafe for AnimTime
Blanket Implementations
Mutably borrows from an owned value. Read more
type NoneType = T
The none-equivalent value.