pub enum AtomRef<'a> {
Note(Note),
Rest(Rest),
Phantom(PhantomData<&'a ()>),
}Expand description
A leaf event produced when a MusicObject is flattened into voices.
Variants§
Note(Note)
A sounding note.
Rest(Rest)
A silent rest.
Phantom(PhantomData<&'a ()>)
Carries the borrow lifetime when no owned atom is present.
Trait Implementations§
impl<'a> Eq for AtomRef<'a>
impl<'a> StructuralPartialEq for AtomRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for AtomRef<'a>
impl<'a> RefUnwindSafe for AtomRef<'a>
impl<'a> Send for AtomRef<'a>
impl<'a> Sync for AtomRef<'a>
impl<'a> Unpin for AtomRef<'a>
impl<'a> UnsafeUnpin for AtomRef<'a>
impl<'a> UnwindSafe for AtomRef<'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