pub struct BarPlace {
pub bar: String,
pub page: usize,
pub system: usize,
pub frame: [f64; 4],
pub staves: Vec<(String, f64, f64)>,
}Expand description
Where a bar is on its page.
Fields§
§bar: String§page: usizeFrom 0, as the systems.
system: usize§frame: [f64; 4][x0, y0, x1, y1]: from the bar’s left edge to its right, the top staff’s top line to
the bottom staff’s bottom line.
staves: Vec<(String, f64, f64)>Each staff’s top and bottom line: (staff, y0, y1).
Implementations§
Trait Implementations§
impl StructuralPartialEq for BarPlace
Auto Trait Implementations§
impl Forget for BarPlace
impl Freeze for BarPlace
impl Move for BarPlace
impl RefUnwindSafe for BarPlace
impl Send for BarPlacewhere
RawVecInner: Send,
impl Sync for BarPlacewhere
RawVecInner: Sync,
impl Unpin for BarPlace
impl UnsafeUnpin for BarPlacewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, f64, f64)>: UnsafeUnpin,
impl UnwindSafe for BarPlacewhere
RawVecInner: UnwindSafe,
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