Struct include_dir::Dir[][src]

pub struct Dir<'a> { /* fields omitted */ }

A directory entry.

Methods

impl<'a> Dir<'a>
[src]

Get the directory's path.

Get a list of the files in this directory.

Get a list of the sub-directories inside this directory.

Does this directory contain path?

Fetch a sub-directory by exactly matching its path relative to the directory included with include_dir!().

Fetch a sub-directory by exactly matching its path relative to the directory included with include_dir!().

Search for a file or directory with a glob pattern.

Trait Implementations

impl<'a> Debug for Dir<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> Copy for Dir<'a>
[src]

impl<'a> Clone for Dir<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> PartialEq for Dir<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl<'a> Send for Dir<'a>

impl<'a> Sync for Dir<'a>