[][src]Struct valora::Options

pub struct Options {
    pub world: World,
    pub brainstorm: bool,
    pub delay: usize,
    pub output: Option<PathBuf>,

Command line options for a painting run.

Construct with Options::from_args() to run the CLI.


world: Worldbrainstorm: bool

In brainstorm mode:

  • When rendering a limited number of frames to screen, the preview will not close.

  • When rendering to file, every frame will be rendered with a different seed.

delay: usize

The number of frames to delay saving to file. For example, if delay=100, 100 frames will be rendered silently and then the 101st and those after it will be saved to file.

output: Option<PathBuf>

Prefix of output path. Output is //<frame_number>.png

Trait Implementations

impl Clone for Options[src]

impl Debug for Options[src]

impl StructOpt for Options[src]

impl StructOptInternal for Options[src]

Auto Trait Implementations

impl RefUnwindSafe for Options

impl Send for Options

impl Sync for Options

impl Unpin for Options

impl UnwindSafe for Options

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SetParameter for T

impl<T> SetParameter for T

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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