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

rlmesh::Corners

structPreviewuse rlmesh::Corners;[source]

A set of predict corners, with C's RLMESH_CORNER_* bit values: which corners a Policy writes (Policy::CORNERS) and which read the context (Policy::CONTEXT).

struct Corners(/* private field */)

NONE

associated constant[source]
const NONE: Corners

No corner.

PREDICT

associated constant[source]
const PREDICT: Corners

predict.

PREDICT_CHUNK

associated constant[source]
const PREDICT_CHUNK: Corners

predict_chunk.

PREDICT_BATCH

associated constant[source]
const PREDICT_BATCH: Corners

predict_batch.

PREDICT_CHUNK_BATCH

associated constant[source]
const PREDICT_CHUNK_BATCH: Corners

predict_chunk_batch.

union

method[source]
const fn union(self, other: Corners) -> Corners

Every corner in self or other (bitwise or).

contains

method[source]
const fn contains(self, other: Corners) -> bool

Whether every corner of other is in self.

Trait implementations

  • impl Clone for Corners
  • impl Copy for Corners
  • impl Debug for Corners
  • impl Default for Corners
  • impl StructuralPartialEq for Corners
  • impl PartialEq for Corners
  • impl Eq for Corners
  • impl Hash for Corners