Enum mtree::MTreeLine[][src]

pub enum MTreeLine<'a> {
    Blank,
    Comment(&'a [u8]),
    Special(SpecialKind, Vec<Keyword<'a>>),
    Relative(&'a [u8]Vec<Keyword<'a>>),
    DotDot,
    Full(&'a [u8]Vec<Keyword<'a>>),
}

An mtree file is a sequence of lines, each a semantic unit.

Variants

Blank lines are ignored.

Lines starting with a '#' are ignored.

Special commands (starting with '/') alter the behavior of later entries.

If the first word does not contain a '/', it is a file in the current directory.

Change the current directory to the parent of the current directory.

If the first word does contain a '/', it is a file relative to the starting (not current) directory.

Methods

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

Trait Implementations

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for MTreeLine<'a>

impl<'a> Sync for MTreeLine<'a>