pub struct CorpusWork {
pub stub: String,
pub title: String,
pub files: Vec<CorpusFile>,
}Expand description
A work of a directory and its files: music21’s CorpusWork.
Fields§
§stub: StringThe work’s name on disk: the subdirectory, or the file without its extension.
title: StringA title made from the stub.
files: Vec<CorpusFile>The work’s files, in the order given.
Trait Implementations§
Source§impl Clone for CorpusWork
impl Clone for CorpusWork
Source§impl Debug for CorpusWork
impl Debug for CorpusWork
impl Eq for CorpusWork
Source§impl PartialEq for CorpusWork
impl PartialEq for CorpusWork
impl StructuralPartialEq for CorpusWork
Auto Trait Implementations§
impl Forget for CorpusWork
impl Freeze for CorpusWork
impl Move for CorpusWork
impl RefUnwindSafe for CorpusWork
impl Send for CorpusWork
impl Sync for CorpusWork
impl Unpin for CorpusWork
impl UnsafeUnpin for CorpusWork
impl UnwindSafe for CorpusWork
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