pub struct NwcFont {
pub name: Vec<u8>,
pub style: u8,
pub size: u8,
pub charset: u8,
}Expand description
A font the header names: music21’s FontDict.
Fields§
§name: Vec<u8>Its name, Times New Roman where the file gives none.
style: u8Regular, bold, italic or both, as the file numbers them.
size: u8Its size in points, 12 where the file gives none.
charset: u8Its character set.
Trait Implementations§
impl Eq for NwcFont
impl StructuralPartialEq for NwcFont
Auto Trait Implementations§
impl Forget for NwcFont
impl Freeze for NwcFont
impl Move for NwcFont
impl RefUnwindSafe for NwcFont
impl Send for NwcFont
impl Sync for NwcFont
impl Unpin for NwcFont
impl UnsafeUnpin for NwcFont
impl UnwindSafe for NwcFont
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