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

rlmesh::types::LoadKey

structPreviewuse rlmesh::types::LoadKey;[source]

One keyword load accepts: the native form of load's signature. required is a parameter with no default.

struct LoadKey

name

field[source]
name: &'static str

The keyword.

required

field[source]
required: bool

Whether from_config must supply it.

optional

associated function[source]
const fn optional(name: &'static str) -> LoadKey

A keyword with a default (key=None).

required

associated function[source]
const fn required(name: &'static str) -> LoadKey

A keyword without a default.

Trait implementations

  • impl Clone for LoadKey
  • impl Copy for LoadKey
  • impl Debug for LoadKey
  • impl StructuralPartialEq for LoadKey
  • impl PartialEq for LoadKey
  • impl Eq for LoadKey
  • impl Hash for LoadKey