Enum nannou::ui::widget::file_navigator::Types[][src]

pub enum Types<'a> {
    All,
    WithExtension(&'a [&'a str]),
    Directories,
}

A type for specifying the types of files to be shown by a FileNavigator.

Variants

Indicates that files of all types should be shown.

A list of types of files that are accepted by the FileNavigator.

i.e. &["wav", "wave", "aiff"].

Indicates only directories should be shown

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Auto Trait Implementations

impl<'a> Send for Types<'a>

impl<'a> Sync for Types<'a>