Enum tf_playlist::PlaylistEvent
source · pub enum PlaylistEvent<T> {
Add(T),
Remove(T),
}
Variants§
Trait Implementations§
source§impl<T: Clone> Clone for PlaylistEvent<T>
impl<T: Clone> Clone for PlaylistEvent<T>
source§fn clone(&self) -> PlaylistEvent<T>
fn clone(&self) -> PlaylistEvent<T>
Returns a copy 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<T> Observable<PlaylistEvent<T>> for Playlist<T>where
T: Clone,
impl<T> Observable<PlaylistEvent<T>> for Playlist<T>where T: Clone,
Auto Trait Implementations§
impl<T> RefUnwindSafe for PlaylistEvent<T>where T: RefUnwindSafe,
impl<T> Send for PlaylistEvent<T>where T: Send,
impl<T> Sync for PlaylistEvent<T>where T: Sync,
impl<T> Unpin for PlaylistEvent<T>where T: Unpin,
impl<T> UnwindSafe for PlaylistEvent<T>where T: UnwindSafe,
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