Struct ukebox::chord_chart::ChordChart [−][src]
pub struct ChordChart { /* fields omitted */ }
Implementations
impl ChordChart
[src]
impl ChordChart
[src]pub fn new(voicing: Voicing, width: Semitones) -> Self
[src]
pub fn get_base_fret(&self) -> FretID
[src]
pub fn get_base_fret(&self) -> FretID
[src]Determine from which fret to show the fretboard.
If the rightmost fret fits on the diagram, show the fretboard beginning at the first fret, otherwise use the leftmost fret needed for the chords to be played.
pub fn get_root_width(&self) -> usize
[src]
pub fn get_root_width(&self) -> usize
[src]Get the width of the space that we need to print the names of the root notes (the names of the strings).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ChordChart
impl Send for ChordChart
impl Sync for ChordChart
impl Unpin for ChordChart
impl UnwindSafe for ChordChart
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more