pub struct ExportOptions {
pub unit_length: Option<(UnsignedIntegerType, UnsignedIntegerType)>,
pub measures_per_line: usize,
}Expand description
How to_abc writes a score.
Fields§
§unit_length: Option<(UnsignedIntegerType, UnsignedIntegerType)>The unit note length of the L: field as a fraction of a whole note,
(1, 8) for an eighth. None takes the one the tune’s lengths are
shortest to write against.
measures_per_line: usizeHow many measures go on a line of music.
Trait Implementations§
Source§impl Clone for ExportOptions
impl Clone for ExportOptions
Source§impl Debug for ExportOptions
impl Debug for ExportOptions
Source§impl Default for ExportOptions
impl Default for ExportOptions
impl Eq for ExportOptions
Source§impl PartialEq for ExportOptions
impl PartialEq for ExportOptions
impl StructuralPartialEq for ExportOptions
Auto Trait Implementations§
impl Freeze for ExportOptions
impl RefUnwindSafe for ExportOptions
impl Send for ExportOptions
impl Sync for ExportOptions
impl Unpin for ExportOptions
impl UnsafeUnpin for ExportOptions
impl UnwindSafe for ExportOptions
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