[][src]Struct unveil_rs::config::UnveilConfig

pub struct UnveilConfig {
    pub slides: Vec<String>,
    pub user_theme: Option<String>,
    pub gitignore: bool,
    // some fields omitted
}

Fields

slides: Vec<String>user_theme: Option<String>gitignore: bool

Methods

impl UnveilConfig[src]

pub fn from_disk<P: AsRef<Path>>(config_file: P) -> Result<UnveilConfig>[src]

Trait Implementations

impl Default for UnveilConfig[src]

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

impl FromStr for UnveilConfig[src]

type Err = Error

The associated error which can be returned from parsing.

impl Serialize for UnveilConfig[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: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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<T> Typeable for T where
    T: Any

impl<T> UnsafeAny for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,