Module sim.args stdlib

sim.args
Version:
0.3.3
License:
MIT
Dependencies from vmod:
0
Imports:
5
Imported by:
1
Repository:
OS-specific
Show selected OS-specific symbols.
Backend-specific
Show selected Backend-specific symbols.

Dependencies defined in v.mod

This section is empty.

Imports

Imported by

Aliases

This section is empty.

Constants

This section is empty.

Sum types

#type SimArgs

Functions

#fn parse_args

fn parse_args(config ParserSettings) !SimArgs

Structs

#struct ParserSettings

params
pub struct ParserSettings {
	sequential    bool
	img           bool
	extra_workers int
}

#struct SequentialArgs

pub struct SequentialArgs {
pub:
	params   sim.SimParams
	grid     sim.GridSettings
	filename string
}

#struct ParallelArgs

pub struct ParallelArgs {
	SequentialArgs
pub:
	workers int = args.max_parallel_workers
}

Interfaces

This section is empty.

Enums

This section is empty.