pub struct KaraokeGenerator<'a> { /* private fields */ }Expand description
Karaoke generator builder
Implementations§
Source§impl<'a> KaraokeGenerator<'a>
impl<'a> KaraokeGenerator<'a>
Sourcepub fn karaoke_type(self, karaoke_type: KaraokeType) -> Self
pub fn karaoke_type(self, karaoke_type: KaraokeType) -> Self
Set karaoke type
Sourcepub fn manual_syllables(self) -> Self
pub fn manual_syllables(self) -> Self
Use manual syllable splitting
Sourcepub fn execute(self) -> Result<&'a mut EditorDocument>
pub fn execute(self) -> Result<&'a mut EditorDocument>
Execute the generation
Auto Trait Implementations§
impl<'a> Freeze for KaraokeGenerator<'a>
impl<'a> !RefUnwindSafe for KaraokeGenerator<'a>
impl<'a> Send for KaraokeGenerator<'a>
impl<'a> !Sync for KaraokeGenerator<'a>
impl<'a> Unpin for KaraokeGenerator<'a>
impl<'a> !UnwindSafe for KaraokeGenerator<'a>
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