#[non_exhaustive]pub struct OutputPolicy {
pub rect_fast: bool,
pub rect_param: bool,
pub local_frame: bool,
pub void_union: bool,
pub void_2d: bool,
pub prism_cut: bool,
pub dedup_extra: bool,
pub halfspace_cap_off: bool,
pub fast_cut_ratio: f64,
pub csg_op_cap: u64,
pub csg_element_cap: u64,
pub alt_triangulator: bool,
}Expand description
The effective value of every process-global geometry output knob.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.rect_fast: boolrect_fast::enabled (IFC_LITE_RECT_FAST).
rect_param: boolrect_fast::param_enabled (override, IFC_LITE_RECT_PARAM).
local_frame: boolProcess-wide local-frame fallback (override, IFC_LITE_LOCAL_FRAME),
used by every router built without an explicit frame policy.
void_union: boolCoaxial void union (IFC_LITE_VOID_UNION).
void_2d: bool2D boolean void path (IFC_LITE_VOID_2D).
prism_cut: boolPrism cut path (IFC_LITE_PRISM_CUT).
dedup_extra: boolExtra build-time item dedup (override, IFC_LITE_DEDUP_EXTRA).
halfspace_cap_off: boolHalf-space section cap disabled (IFC_LITE_HALFSPACE_CAP_OFF).
fast_cut_ratio: f64Preview small-cut skip ratio (IFC_LITE_FAST_CUT_RATIO).
csg_op_cap: u64Per-boolean escalation cap as snapshotted (u64::MAX = unbounded).
csg_element_cap: u64Per-element escalation cap as snapshotted (u64::MAX = unbounded).
alt_triangulator: boolAlternate triangulator oracle armed (feature triangulation-alt).
Implementations§
Source§impl OutputPolicy
impl OutputPolicy
Sourcepub fn canonical_bytes(&self) -> Vec<u8> ⓘ
pub fn canonical_bytes(&self) -> Vec<u8> ⓘ
A canonical, versioned byte encoding: fixed field order, explicit
widths, floats as raw bits, followed by BUILD_FEATURES.
Trait Implementations§
Source§impl Clone for OutputPolicy
impl Clone for OutputPolicy
Source§fn clone(&self) -> OutputPolicy
fn clone(&self) -> OutputPolicy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OutputPolicy
impl Debug for OutputPolicy
Source§impl PartialEq for OutputPolicy
impl PartialEq for OutputPolicy
impl Copy for OutputPolicy
impl StructuralPartialEq for OutputPolicy
Auto Trait Implementations§
impl Freeze for OutputPolicy
impl RefUnwindSafe for OutputPolicy
impl Send for OutputPolicy
impl Sync for OutputPolicy
impl Unpin for OutputPolicy
impl UnwindSafe for OutputPolicy
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moreSource§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.