[][src]Struct liriodendron::args::Args

pub struct Args {
    user_interface: bool,
    max_actions: u32,
    max_filled_cells: u32,
    max_waiting_tasks: u32,
    threads_number: usize,
}

StructOpt struct

Fields

user_interface: bool

Open a new workspace in the terminal and use it as user interface

max_actions: u32

Set the maximum number of saved actions in the actions member of log

max_filled_cells: u32

Set the maximum number of saved filled cells in the state member of log grids

max_waiting_tasks: u32

Set the maximum number of waiting tasks in the tasksmanager's tasks queue

threads_number: usize

Set the number of threads in the tasksmanager's threadpool

Methods

impl Args[src]

pub fn is_ui_used(&self) -> bool[src]

pub fn get_threads_number(&self) -> Result<usize, Error>[src]

pub fn get_max_waiting_tasks(&self) -> Result<usize, Error>[src]

pub fn get_max_actions(&self) -> Result<usize, Error>[src]

pub fn get_max_filled_cells(&self) -> Result<usize, Error>[src]

Trait Implementations

impl StructOpt for Args[src]

impl StructOptInternal for Args[src]

Auto Trait Implementations

impl RefUnwindSafe for Args

impl Send for Args

impl Sync for Args

impl Unpin for Args

impl UnwindSafe for Args

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> SetParameter for T

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>,