pub struct NoteRegistry { /* private fields */ }Expand description
Every note the document defines, laid out once per distinct width.
Implementations§
Source§impl NoteRegistry
impl NoteRegistry
Sourcepub fn get(&self, note: NoteRef, content_width: f64) -> Option<&NoteLayout>
pub fn get(&self, note: NoteRef, content_width: f64) -> Option<&NoteLayout>
The note as broken for a section of this content width.
Sourcepub fn has_continuation_separator(&self) -> bool
pub fn has_continuation_separator(&self) -> bool
Whether either stream defined the rule drawn above a carried note.
Trait Implementations§
Source§impl Clone for NoteRegistry
impl Clone for NoteRegistry
Source§fn clone(&self) -> NoteRegistry
fn clone(&self) -> NoteRegistry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NoteRegistry
impl Debug for NoteRegistry
Source§impl Default for NoteRegistry
impl Default for NoteRegistry
Source§fn default() -> NoteRegistry
fn default() -> NoteRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NoteRegistry
impl RefUnwindSafe for NoteRegistry
impl Send for NoteRegistry
impl Sync for NoteRegistry
impl Unpin for NoteRegistry
impl UnsafeUnpin for NoteRegistry
impl UnwindSafe for NoteRegistry
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