pub trait AnimationTraitConst {
// Required method
fn as_raw_Animation(&self) -> *const c_void;
// Provided methods
fn loop_count(&self) -> i32 { ... }
fn bgcolor(&self) -> Scalar { ... }
fn durations(&self) -> Vector<i32> { ... }
fn frames(&self) -> Vector<Mat> { ... }
}Expand description
Constant methods for crate::imgcodecs::Animation
Required Methods§
fn as_raw_Animation(&self) -> *const c_void
Provided Methods§
Sourcefn loop_count(&self) -> i32
fn loop_count(&self) -> i32
Number of times the animation should loop. 0 means infinite looping.