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

rlmesh::adapters::ImageLayout

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

A typed adapter vocabulary or tree alternative.

enum ImageLayout

Hwc

variant[source]
Hwc

hwc

Chw

variant[source]
Chw

chw

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 ImageLayout
  • impl Copy for ImageLayout
  • impl Debug for ImageLayout
  • impl StructuralPartialEq for ImageLayout
  • impl PartialEq for ImageLayout
  • impl Eq for ImageLayout
  • impl Hash for ImageLayout
  • impl Vocabulary for ImageLayout
  • impl Display for ImageLayout
  • impl Serialize for ImageLayout
  • impl<'de> Deserialize<'de> for ImageLayout