pub struct LocalCorpus {
pub name: Option<String>,
pub paths: Vec<String>,
pub cache_file_path: Option<String>,
}Expand description
A local corpus’s settings: the directories it reads, the file its
metadata is cached in, and its name, which the unnamed corpus has none
of. music21’s LocalCorpusSettings.
Fields§
§name: Option<String>Its name; None for the unnamed local corpus.
paths: Vec<String>The directories it reads.
cache_file_path: Option<String>Where its metadata is cached; None for the temporary directory.
Trait Implementations§
Source§impl Clone for LocalCorpus
impl Clone for LocalCorpus
Source§impl Debug for LocalCorpus
impl Debug for LocalCorpus
Source§impl Default for LocalCorpus
impl Default for LocalCorpus
impl Eq for LocalCorpus
Source§impl PartialEq for LocalCorpus
impl PartialEq for LocalCorpus
impl StructuralPartialEq for LocalCorpus
Auto Trait Implementations§
impl Forget for LocalCorpus
impl Freeze for LocalCorpus
impl RefUnwindSafe for LocalCorpus
impl Send for LocalCorpus
impl Sync for LocalCorpus
impl Unpin for LocalCorpus
impl UnsafeUnpin for LocalCorpus
impl UnwindSafe for LocalCorpus
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