pub struct Playable<V> { /* private fields */ }Expand description
The clips that may be played: those that say what their line says today.
Implementations§
Source§impl<V: ClipVariant> Playable<V>
impl<V: ClipVariant> Playable<V>
Sourcepub fn variant_for(&self, line: &LineId, variant: V) -> Option<V>
pub fn variant_for(&self, line: &LineId, variant: V) -> Option<V>
The clip to play for line as variant plays it: the line’s only
clip, else variant’s. None if the line has no playable clip.
Trait Implementations§
impl<V: Eq> Eq for Playable<V>
impl<V: PartialEq> StructuralPartialEq for Playable<V>
Auto Trait Implementations§
impl<V> Freeze for Playable<V>
impl<V> RefUnwindSafe for Playable<V>where
V: RefUnwindSafe,
impl<V> Send for Playable<V>where
V: Send,
impl<V> Sync for Playable<V>where
V: Sync,
impl<V> Unpin for Playable<V>
impl<V> UnsafeUnpin for Playable<V>
impl<V> UnwindSafe for Playable<V>where
V: RefUnwindSafe,
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