rlmesh::Corners
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 */)Associated constants
Methods
NONE
associated constant[source]const NONE: CornersNo corner.
PREDICT
associated constant[source]const PREDICT: Cornerspredict.
PREDICT_CHUNK
associated constant[source]const PREDICT_CHUNK: Cornerspredict_chunk.
PREDICT_BATCH
associated constant[source]const PREDICT_BATCH: Cornerspredict_batch.
PREDICT_CHUNK_BATCH
associated constant[source]const PREDICT_CHUNK_BATCH: Cornerspredict_chunk_batch.
union
method[source]const fn union(self, other: Corners) -> CornersEvery corner in self or other (bitwise or).
contains
method[source]const fn contains(self, other: Corners) -> boolWhether 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