Enum zbox::FileType [] [src]

pub enum FileType {
    File,
    Dir,
}

A structure representing a type of file with accessors for each file type.

Variants

Methods

impl FileType
[src]

[src]

Test whether this file type represents a regular file.

[src]

Test whether this file type represents a directory.

Trait Implementations

impl Debug for FileType
[src]

[src]

Formats the value using the given formatter.

impl Copy for FileType
[src]

impl Clone for FileType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for FileType
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Default for FileType
[src]

[src]

Returns the "default value" for a type. Read more