[][src]Struct erl_pp::directives::IncludeLib

pub struct IncludeLib {
    pub _hyphen: SymbolToken,
    pub _include_lib: AtomToken,
    pub _open_paren: SymbolToken,
    pub path: StringToken,
    pub _close_paren: SymbolToken,
    pub _dot: SymbolToken,
}

include_lib directive.

See 9.1 File Inclusion for detailed information.

Fields

_hyphen: SymbolToken_include_lib: AtomToken_open_paren: SymbolTokenpath: StringToken_close_paren: SymbolToken_dot: SymbolToken

Methods

impl IncludeLib[src]

pub fn include_lib(
    &self,
    code_paths: &VecDeque<PathBuf>
) -> Result<(PathBuf, String)>
[src]

Executes file inclusion.

Trait Implementations

impl Clone for IncludeLib[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for IncludeLib[src]

impl Display for IncludeLib[src]

impl PositionRange for IncludeLib[src]

Auto Trait Implementations

impl Send for IncludeLib

impl Sync for IncludeLib

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

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

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.

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

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

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