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

rlmesh::adapters::Action

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

Ordered action actuators plus optional clipping bounds.

struct Action

components

field[source]
components: Vec<Actuator>

Action actuators in vector order.

clip

field[source]
clip: Option<(f64, f64)>

Optional (low, high) clip applied to the final vector.

new

associated function[source]
fn new(items: impl IntoIterator<Item = Actuator>) -> Self

Construct ordered action actuators without clipping.

dim

method[source]
fn dim(&self) -> u32

Total declared action width.

Trait implementations

  • impl Clone for Action
  • impl Debug for Action
  • impl StructuralPartialEq for Action
  • impl PartialEq for Action
  • impl Serialize for Action
  • impl<'de> Deserialize<'de> for Action
  • impl Display for Action