pub struct SongEdit<'a> { /* private fields */ }Expand description
the changes made to the song will be made available to the playing live audio as soon as this struct is dropped.
With this you can load the full song without ever playing a half initialised state when doing mulitple operations this object should be kept as it is
Implementations§
Source§impl SongEdit<'_>
impl SongEdit<'_>
pub fn apply_operation( &mut self, op: SongOperation, ) -> Result<(), SongOperation>
pub fn song(&self) -> &Song
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SongEdit<'a>
impl<'a> !RefUnwindSafe for SongEdit<'a>
impl<'a> Send for SongEdit<'a>
impl<'a> Sync for SongEdit<'a>
impl<'a> Unpin for SongEdit<'a>
impl<'a> !UnwindSafe for SongEdit<'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