This reference describes unreleased code on main; no release documents it yet.

rlmesh::adapters::PreviousOptions

structPreviewuse rlmesh::adapters::PreviousOptions;[source]

Options for the Previous adapter. Build with ..Default::default(); adding an options field is a minor change.

struct PreviousOptions

part

field[source]
part: Option<String>

The desired body part, or None for the whole role (default).

fill

field[source]
fill: f64

The value before the first action; defaults to zero.

part

method[source]
fn part(self, part: impl Into<String>) -> Self

Set the desired body part.

fill

method[source]
fn fill(self, fill: f64) -> Self

Set the value before the first action.

Trait implementations

  • impl Clone for PreviousOptions
  • impl Debug for PreviousOptions
  • impl Default for PreviousOptions