pub enum PlayableRef {
Inline(Box<Music>),
Symbol(Symbol),
}Expand description
Reference to the playable material a placement renders.
Variants§
Inline(Box<Music>)
Inline music object owned by the placement.
Symbol(Symbol)
Named reference resolved by the host at render time.
Implementations§
Source§impl PlayableRef
impl PlayableRef
Trait Implementations§
Source§impl Clone for PlayableRef
impl Clone for PlayableRef
Source§fn clone(&self) -> PlayableRef
fn clone(&self) -> PlayableRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlayableRef
impl Debug for PlayableRef
impl Eq for PlayableRef
Auto Trait Implementations§
impl !RefUnwindSafe for PlayableRef
impl !UnwindSafe for PlayableRef
impl Freeze for PlayableRef
impl Send for PlayableRef
impl Sync for PlayableRef
impl Unpin for PlayableRef
impl UnsafeUnpin for PlayableRef
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