pub enum GenerationRequest {
ExactBRep,
Tessellation(TessellationRequest),
}Expand description
Requested result model for a generation operation.
Variants§
ExactBRep
Preserve analytic supports, trim spans, and typed topology.
Tessellation(TessellationRequest)
Produce a triangle mesh within the stated explicit tolerance policy.
Implementations§
Source§impl GenerationRequest
impl GenerationRequest
Sourcepub const fn requires_exact_brep(self) -> bool
pub const fn requires_exact_brep(self) -> bool
Whether this request must be satisfied by an analytic B-rep or refused.
A mesh is never a valid fallback for this request.
Trait Implementations§
Source§impl Clone for GenerationRequest
impl Clone for GenerationRequest
Source§fn clone(&self) -> GenerationRequest
fn clone(&self) -> GenerationRequest
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 GenerationRequest
impl Debug for GenerationRequest
Source§impl PartialEq for GenerationRequest
impl PartialEq for GenerationRequest
impl Copy for GenerationRequest
impl StructuralPartialEq for GenerationRequest
Auto Trait Implementations§
impl Freeze for GenerationRequest
impl RefUnwindSafe for GenerationRequest
impl Send for GenerationRequest
impl Sync for GenerationRequest
impl Unpin for GenerationRequest
impl UnwindSafe for GenerationRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more