[][src]Struct vocage::VocaSession

pub struct VocaSession {
    pub columns: Vec<String>,
    pub decks: Vec<String>,
    pub intervals: Vec<u32>,
    pub returntofirst: bool,
    pub showcolumns: Vec<Vec<u8>>,
    pub listdelimiter: Option<String>,
    // some fields omitted
}

Fields

columns: Vec<String>decks: Vec<String>intervals: Vec<u32>

interval in minutes

returntofirst: boolshowcolumns: Vec<Vec<u8>>

Configuration of columns to show for each side of the card

listdelimiter: Option<String>

list delimiter

Implementations

impl VocaSession[src]

pub fn common_arguments<'a, 'b>() -> Vec<Arg<'a, 'b>>[src]

pub fn set_common_arguments<'a>(
    &mut self,
    args: &ArgMatches<'a>
) -> Result<(), Error>
[src]

pub fn from_arguments(args: Vec<&str>) -> Result<Self, Error>[src]

pub fn get_deck_by_name(&self, name: &str) -> Option<u8>[src]

Trait Implementations

impl Clone for VocaSession[src]

impl Default for VocaSession[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> 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>,