pub struct VirtualWork {
pub class: &'static str,
pub composer: &'static str,
pub title: &'static str,
pub corpus_path: &'static str,
pub urls: &'static [&'static str],
}Expand description
A work kept elsewhere.
Fields§
§class: &'static strThe name music21 gives its class.
composer: &'static strWho wrote it.
title: &'static strIts title.
corpus_path: &'static strThe path in the corpus that names it, unique among the works.
urls: &'static [&'static str]Where it can be downloaded from, best first.
Trait Implementations§
Source§impl Clone for VirtualWork
impl Clone for VirtualWork
impl Copy for VirtualWork
Source§impl Debug for VirtualWork
impl Debug for VirtualWork
impl Eq for VirtualWork
Source§impl PartialEq for VirtualWork
impl PartialEq for VirtualWork
impl StructuralPartialEq for VirtualWork
Auto Trait Implementations§
impl Forget for VirtualWork
impl Freeze for VirtualWork
impl Move for VirtualWork
impl RefUnwindSafe for VirtualWork
impl Send for VirtualWork
impl Sync for VirtualWork
impl Unpin for VirtualWork
impl UnsafeUnpin for VirtualWork
impl UnwindSafe for VirtualWork
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more