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

rlmesh::adapters::Constant

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

A constant part of a Concat: dim copies of fill.

struct Constant

dim

field[source]
dim: u32

Width of the constant block.

fill

field[source]
fill: f64

The value every element carries.

Trait implementations

  • impl Clone for Constant
  • impl Debug for Constant
  • impl StructuralPartialEq for Constant
  • impl PartialEq for Constant
  • impl Serialize for Constant
  • impl<'de> Deserialize<'de> for Constant
  • impl Default for Constant
  • impl Display for Constant
  • impl From<Constant> for ConcatPart