pub enum Gender {
Unknown = 0,
Male = 1,
Female = 2,
Neutral = 3,
}Expand description
Speaker gender, mirroring espeak_ng_VOICE_GENDER.
Variants§
Unknown = 0
Gender not specified (default).
Male = 1
Male voice.
Female = 2
Female voice.
Neutral = 3
Gender-neutral voice.
Trait Implementations§
impl Copy for Gender
impl Eq for Gender
impl StructuralPartialEq for Gender
Auto Trait Implementations§
impl Freeze for Gender
impl RefUnwindSafe for Gender
impl Send for Gender
impl Sync for Gender
impl Unpin for Gender
impl UnsafeUnpin for Gender
impl UnwindSafe for Gender
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