pub struct VoicepeakCommand { /* private fields */ }Implementations§
Source§impl VoicepeakCommand
impl VoicepeakCommand
pub fn new() -> Self
pub fn text(self, text: &str) -> Self
pub fn narrator(self, narrator: &str) -> Self
pub fn emotion(self, emotion: &str) -> Self
pub fn output(self, path: &Path) -> Self
pub fn speed(self, speed: &str) -> Self
pub fn pitch(self, pitch: &str) -> Self
pub fn execute(self) -> Result<(), Box<dyn Error>>
pub fn execute_with_verbose(self, verbose: bool) -> Result<(), Box<dyn Error>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VoicepeakCommand
impl RefUnwindSafe for VoicepeakCommand
impl Send for VoicepeakCommand
impl Sync for VoicepeakCommand
impl Unpin for VoicepeakCommand
impl UnsafeUnpin for VoicepeakCommand
impl UnwindSafe for VoicepeakCommand
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