Struct bard::project::Project[][src]

pub struct Project {
    pub project_dir: PathBuf,
    pub settings: Settings,
    pub book: Book,
    // some fields omitted
}

Fields

project_dir: PathBufsettings: Settingsbook: Book

Implementations

impl Project[src]

pub fn new<P: AsRef<Path>>(cwd: P) -> Result<Project>[src]

pub fn init<P: AsRef<Path>>(project_dir: P) -> Result<()>[src]

pub fn metadata(&self) -> &Metadata[src]

pub fn songs(&self) -> &[Song][src]

pub fn render(&self) -> Result<()>[src]

pub fn watch_paths(&self) -> impl Iterator<Item = &Path>[src]

Trait Implementations

impl Debug for Project[src]

Auto Trait Implementations

impl RefUnwindSafe for Project

impl Send for Project

impl Sync for Project

impl Unpin for Project

impl UnwindSafe for Project

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.