Struct bard::book::Book[][src]

pub struct Book {
    pub songs: Vec<Song>,
    pub notation: Notation,
}

Fields

songs: Vec<Song>notation: Notation

Implementations

impl Book[src]

pub fn new(settings: &Settings) -> Book[src]

pub fn add_md_str(&mut self, source: &str) -> Result<()>[src]

pub fn add_md_file<P: AsRef<Path>>(&mut self, path: P) -> Result<()>[src]

pub fn load_files<P: AsRef<Path>>(&mut self, input_paths: &[P]) -> Result<()>[src]

Trait Implementations

impl Debug for Book[src]

Auto Trait Implementations

impl RefUnwindSafe for Book

impl Send for Book

impl Sync for Book

impl Unpin for Book

impl UnwindSafe for Book

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.