#[non_exhaustive]pub enum GeneratedGeometry {
ExactBRep(ExactBRep),
Tessellation(TessellatedMesh),
}Expand description
Geometry produced by a generation operation.
The variant must match the caller’s GenerationRequest. This sum type is
intentionally not coercible: consumers must acknowledge whether they hold
analytic B-rep or a discrete mesh.
ExactBRep remains inline for public API compatibility and to avoid an
infallible boxing allocation on certified construction paths.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ExactBRep(ExactBRep)
Analytic boundary representation with explicit topology and trims.
Tessellation(TessellatedMesh)
Explicitly requested triangle tessellation with tolerance provenance.
Implementations§
Source§impl GeneratedGeometry
impl GeneratedGeometry
Sourcepub const fn output(&self) -> GenerationOutput
pub const fn output(&self) -> GenerationOutput
Result model actually produced.
Trait Implementations§
Source§impl Clone for GeneratedGeometry
impl Clone for GeneratedGeometry
Source§fn clone(&self) -> GeneratedGeometry
fn clone(&self) -> GeneratedGeometry
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GeneratedGeometry
impl Debug for GeneratedGeometry
Source§impl PartialEq for GeneratedGeometry
impl PartialEq for GeneratedGeometry
impl StructuralPartialEq for GeneratedGeometry
Auto Trait Implementations§
impl Freeze for GeneratedGeometry
impl RefUnwindSafe for GeneratedGeometry
impl Send for GeneratedGeometry
impl Sync for GeneratedGeometry
impl Unpin for GeneratedGeometry
impl UnwindSafe for GeneratedGeometry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more