Struct sauce::saucefile::Saucefile[][src]

pub struct Saucefile {
    pub path: Option<PathBuf>,
    pub ancestors: Vec<(PathBuf, Document)>,
    pub document: Document,
}

Fields

path: Option<PathBuf>ancestors: Vec<(PathBuf, Document)>document: Document

Implementations

impl Saucefile[src]

pub fn read<T>(output: &mut Output, path: &Path, ancestors: T) -> Self where
    T: IntoIterator<Item = PathBuf>, 
[src]

pub fn settings(&self) -> Settings[src]

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

pub fn vars(&self, filter_options: &FilterOptions<'_>) -> Vec<(&str, String)>[src]

pub fn aliases(&self, filter_options: &FilterOptions<'_>) -> Vec<(&str, String)>[src]

pub fn functions(
    &self,
    filter_options: &FilterOptions<'_>
) -> Vec<(&str, String)>
[src]

Trait Implementations

impl Debug for Saucefile[src]

impl Default for Saucefile[src]

Auto Trait Implementations

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.