pub struct SubConverter {
pub class_name: &'static str,
pub formats: &'static [&'static str],
pub input_extensions: &'static [&'static str],
pub output_extensions: &'static [&'static str],
}Expand description
What one of music21’s converters registers itself for.
Fields§
§class_name: &'static strThe class’s name in music21.converter.subConverters.
formats: &'static [&'static str]Its format names, the first being the format’s own.
input_extensions: &'static [&'static str]The extensions it reads, without their dots.
output_extensions: &'static [&'static str]The extensions it writes, without their dots.
Trait Implementations§
Source§impl Clone for SubConverter
impl Clone for SubConverter
impl Copy for SubConverter
Source§impl Debug for SubConverter
impl Debug for SubConverter
impl Eq for SubConverter
Source§impl PartialEq for SubConverter
impl PartialEq for SubConverter
impl StructuralPartialEq for SubConverter
Auto Trait Implementations§
impl Forget for SubConverter
impl Freeze for SubConverter
impl RefUnwindSafe for SubConverter
impl Send for SubConverter
impl Sync for SubConverter
impl Unpin for SubConverter
impl UnsafeUnpin for SubConverter
impl UnwindSafe for SubConverter
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