#[non_exhaustive]pub enum SceneDetectMethod {
ContentAware,
Threshold,
}Expand description
Scene detection algorithm.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ContentAware
Content-aware detection using perceptual hashing.
Threshold
Simple threshold-based detection on pixel differences.
Trait Implementations§
Source§impl Clone for SceneDetectMethod
impl Clone for SceneDetectMethod
Source§fn clone(&self) -> SceneDetectMethod
fn clone(&self) -> SceneDetectMethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SceneDetectMethod
Source§impl Debug for SceneDetectMethod
impl Debug for SceneDetectMethod
Source§impl<'de> Deserialize<'de> for SceneDetectMethod
impl<'de> Deserialize<'de> for SceneDetectMethod
Source§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
impl Eq for SceneDetectMethod
Source§impl PartialEq for SceneDetectMethod
impl PartialEq for SceneDetectMethod
Source§impl Serialize for SceneDetectMethod
impl Serialize for SceneDetectMethod
impl StructuralPartialEq for SceneDetectMethod
Auto Trait Implementations§
impl Freeze for SceneDetectMethod
impl RefUnwindSafe for SceneDetectMethod
impl Send for SceneDetectMethod
impl Sync for SceneDetectMethod
impl Unpin for SceneDetectMethod
impl UnsafeUnpin for SceneDetectMethod
impl UnwindSafe for SceneDetectMethod
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