pub enum ConversionMode {
OneToOne,
ManyToOne,
OneToMany,
AnyToAny,
}Expand description
Voice conversion mode.
Variants§
OneToOne
One-to-one: fixed source to fixed target
ManyToOne
Many-to-one: any source to fixed target
OneToMany
One-to-many: fixed source to any target
AnyToAny
Any-to-any: any source to any target (most flexible)
Trait Implementations§
Source§impl Clone for ConversionMode
impl Clone for ConversionMode
Source§fn clone(&self) -> ConversionMode
fn clone(&self) -> ConversionMode
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 ConversionMode
impl Debug for ConversionMode
Source§impl Default for ConversionMode
impl Default for ConversionMode
Source§fn default() -> ConversionMode
fn default() -> ConversionMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for ConversionMode
impl PartialEq for ConversionMode
impl Copy for ConversionMode
impl Eq for ConversionMode
impl StructuralPartialEq for ConversionMode
Auto Trait Implementations§
impl Freeze for ConversionMode
impl RefUnwindSafe for ConversionMode
impl Send for ConversionMode
impl Sync for ConversionMode
impl Unpin for ConversionMode
impl UnwindSafe for ConversionMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more