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

rlmesh::adapters::CropMode

enumPreviewuse rlmesh::adapters::CropMode;[source]

A typed adapter vocabulary or tree alternative.

enum CropMode

Zoom

variant[source]
Zoom

zoom

Slice

variant[source]
Slice

slice

parse

associated function[source]
fn parse(text: &str) -> Option<Self>

Parse an exact vocabulary spelling.

as_str

method[source]
fn as_str(self) -> &'static str

The exact vocabulary spelling.

Trait implementations

  • impl Clone for CropMode
  • impl Copy for CropMode
  • impl Debug for CropMode
  • impl StructuralPartialEq for CropMode
  • impl PartialEq for CropMode
  • impl Eq for CropMode
  • impl Hash for CropMode
  • impl Vocabulary for CropMode
  • impl Display for CropMode
  • impl Serialize for CropMode
  • impl<'de> Deserialize<'de> for CropMode