pub struct NwcHeader {Show 22 fields
pub version: u32,
pub user: Vec<u8>,
pub title: Vec<u8>,
pub author: Vec<u8>,
pub lyricist: Vec<u8>,
pub copyright1: Vec<u8>,
pub copyright2: Vec<u8>,
pub comment: Vec<u8>,
pub extend_last_system: u8,
pub increase_note_spacing: u8,
pub measure_numbers: u8,
pub measure_start: i32,
pub margins: Vec<u8>,
pub group_visibility: Vec<u8>,
pub allow_layering: u8,
pub notation_typeface: Vec<u8>,
pub staff_height: i32,
pub fonts: Vec<NwcFont>,
pub title_page_info: u8,
pub staff_labels: u8,
pub page_number_start: i32,
pub number_of_staves: u8,
}Expand description
What a file’s header says: music21’s NWCConverter.parseHeader.
Fields§
§version: u32§user: Vec<u8>§title: Vec<u8>§lyricist: Vec<u8>§copyright1: Vec<u8>§copyright2: Vec<u8>§comment: Vec<u8>§extend_last_system: u8§increase_note_spacing: u8§measure_numbers: u8§measure_start: i32§margins: Vec<u8>§group_visibility: Vec<u8>§allow_layering: u8§notation_typeface: Vec<u8>§staff_height: i32§fonts: Vec<NwcFont>§title_page_info: u8§staff_labels: u8§page_number_start: i32§number_of_staves: u8Trait Implementations§
impl Eq for NwcHeader
impl StructuralPartialEq for NwcHeader
Auto Trait Implementations§
impl Forget for NwcHeader
impl Freeze for NwcHeader
impl Move for NwcHeader
impl RefUnwindSafe for NwcHeader
impl Send for NwcHeader
impl Sync for NwcHeader
impl Unpin for NwcHeader
impl UnsafeUnpin for NwcHeader
impl UnwindSafe for NwcHeader
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