Module subplotlib::prelude

source ·
Expand description

The subplotlib prelude.

This prelude is automatically imported into all generated subplot test suites using the rust template. Effectively they get

use subplotlib::prelude::*;

inserted into them at the top of the file.

You should familiarise yourself with the context-related types if you are writing your own contexts, or writing step functions which use the contexts provided by the step library itself.

The primary thing you will need to learn, as a step function author, is the #[step] attribute macro, and it interacts with contexts.

Macros

Structs

Traits

  • A context element is anything which can be used as a scenario step context.

Functions

Type Aliases

Attribute Macros

  • Mark a function as a Subplot step function.
  • Indicate what type a function throws