pub enum SyncMethod {
Auto,
LocalVad,
Manual,
}
Expand description
Sync method enumeration.
Defines the available methods for subtitle synchronization, from automatic detection to manual offset specification.
Variants§
Auto
Automatic method selection (currently VAD only).
LocalVad
Local VAD (Voice Activity Detection) processing.
Manual
Manual offset specification.
Trait Implementations§
Source§impl Clone for SyncMethod
impl Clone for SyncMethod
Source§fn clone(&self) -> SyncMethod
fn clone(&self) -> SyncMethod
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SyncMethod
impl Debug for SyncMethod
Source§impl<'de> Deserialize<'de> for SyncMethod
impl<'de> Deserialize<'de> for SyncMethod
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
Source§impl From<SyncMethodArg> for SyncMethod
impl From<SyncMethodArg> for SyncMethod
Source§fn from(arg: SyncMethodArg) -> Self
fn from(arg: SyncMethodArg) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SyncMethod
impl PartialEq for SyncMethod
Source§impl Serialize for SyncMethod
impl Serialize for SyncMethod
impl StructuralPartialEq for SyncMethod
Auto Trait Implementations§
impl Freeze for SyncMethod
impl RefUnwindSafe for SyncMethod
impl Send for SyncMethod
impl Sync for SyncMethod
impl Unpin for SyncMethod
impl UnwindSafe for SyncMethod
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