Skip to main content

Reading

Struct Reading 

Source
pub struct Reading {
    pub fmn: String,
    pub musicxml: String,
    pub systems: usize,
    pub bars: usize,
    pub notes: usize,
    pub syllables: usize,
    pub notices: Vec<String>,
    pub unread: Vec<Unread>,
    pub options: Vec<String>,
    /* private fields */
}
Expand description

A PDF read whole.

Fields§

§fmn: String

The score as .fmn text (docs/transcribing.md).

§musicxml: String

The score compiled.

§systems: usize§bars: usize§notes: usize§syllables: usize§notices: Vec<String>

What was read only in part, said for the person (words left off a bar, …).

§unread: Vec<Unread>

The staves’ bars that could not be read: each is written as a bar’s rest, for a person (or another reader) to fill in.

§options: Vec<String>

With FMV_OPTIONS set, each unread (or flagged) staff’s bar’s options, a line of JSON each (options.rs); else none.

Trait Implementations§

Source§

impl Clone for Reading

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Reading

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Forget for Reading

§

impl Freeze for Reading
where *const u8 is !null: Freeze, PhantomData<u8>: Freeze, PhantomData<String>: Freeze, PhantomData<Unread>: Freeze, *const LeafNode<(i64, String), Seen> is !null: Freeze, PhantomData<(Owned, LeafOrInternal)>: Freeze, PhantomData<Box<((i64, String), Seen)>>: Freeze, *const LeafNode<(i64, String), Place> is !null: Freeze, PhantomData<Box<((i64, String), Place)>>: Freeze, *const LeafNode<i64, usize> is !null: Freeze, PhantomData<Box<(i64, usize)>>: Freeze, PhantomData<NoteMark>: Freeze,

§

impl Move for Reading

§

impl RefUnwindSafe for Reading

§

impl Send for Reading
where RawVecInner: Send, NodeRef<Owned, (i64, String), Seen, LeafOrInternal>: Send, BoxRaw<((i64, String), Seen)>: Send, NodeRef<Owned, (i64, String), Place, LeafOrInternal>: Send, BoxRaw<((i64, String), Place)>: Send, NodeRef<Owned, i64, usize, LeafOrInternal>: Send, BoxRaw<(i64, usize)>: Send,

§

impl Sync for Reading
where RawVecInner: Sync, NodeRef<Owned, (i64, String), Seen, LeafOrInternal>: Sync, BoxRaw<((i64, String), Seen)>: Sync, NodeRef<Owned, (i64, String), Place, LeafOrInternal>: Sync, BoxRaw<((i64, String), Place)>: Sync, NodeRef<Owned, i64, usize, LeafOrInternal>: Sync, BoxRaw<(i64, usize)>: Sync,

§

impl Unpin for Reading
where *const u8 is !null: Unpin, *const LeafNode<(i64, String), Seen> is !null: Unpin, Box<((i64, String), Seen)>: Unpin, *const LeafNode<(i64, String), Place> is !null: Unpin, Box<((i64, String), Place)>: Unpin, *const LeafNode<i64, usize> is !null: Unpin, Box<(i64, usize)>: Unpin,

§

impl UnsafeUnpin for Reading

§

impl UnwindSafe for Reading

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, S> SimdFrom<T, S> for T
where S: Simd,

Source§

fn simd_from(_simd: S, value: T) -> T

Source§

impl<F, T, S> SimdInto<T, S> for F
where T: SimdFrom<F, S>, S: Simd,

Source§

fn simd_into(self, simd: S) -> T

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.