Struct glslt::parse::StdPreprocessorFs[][src]

pub struct StdPreprocessorFs { /* fields omitted */ }

Implementation of super::PreprocessorFs for std::fs

Implementations

impl StdPreprocessorFs[src]

pub fn new() -> Self[src]

Create a new StdPreprocessorFs instance with no system include path

pub fn with_include_path(include: &[PathBuf]) -> Self[src]

Create a new StdPreprocessorFs instance with the given include path

Parameters

  • include: list of paths to include directories to check for absolute includes

Trait Implementations

impl Clone for StdPreprocessorFs[src]

impl Debug for StdPreprocessorFs[src]

impl Default for StdPreprocessorFs[src]

impl PreprocessorFs for StdPreprocessorFs[src]

type Error = StdPreprocessorFsError

Error type for i/o errors

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> IntoResult<T> for T

type Err = Infallible

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.