[][src]Enum tauri_api::path::BaseDirectory

#[repr(u16)]pub enum BaseDirectory {
    Audio,
    Cache,
    Config,
    Data,
    LocalData,
    Desktop,
    Document,
    Download,
    Executable,
    Font,
    Home,
    Picture,
    Public,
    Runtime,
    Template,
    Video,
    Resource,
    App,
}

A Base Directory to use. The base directory is the optional root of a FS operation. If informed by the API call, all paths will be relative to the path of the given directory.

For more information, check the dirs documentation.

Variants

Audio

The Audio directory.

Cache

The Cache directory.

Config

The Config directory.

Data

The Data directory.

LocalData

The LocalData directory.

Desktop

The Desktop directory.

Document

The Document directory.

Download

The Download directory.

Executable

The Executable directory.

Font

The Font directory.

Home

The Home directory.

Picture

The Picture directory.

Public

The Public directory.

Runtime

The Runtime directory.

Template

The Template directory.

Video

The Video directory.

Resource

The Resource directory.

App

The default App config directory. Resolves to ${CONFIG_DIR}/${APP_NAME}

Trait Implementations

impl Clone for BaseDirectory[src]

impl Debug for BaseDirectory[src]

impl<'de> Deserialize<'de> for BaseDirectory[src]

impl Serialize for BaseDirectory[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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<V, T> VZip<V> for T where
    V: MultiLane<T>,