#[non_exhaustive]pub enum ScaleFieldDisposition {
PreserveExact,
Rewrite(ScaleRewriteRule),
}Expand description
Whether a modeled field is preserved exactly or analytically rewritten.
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.
PreserveExact
The field is outside the core builder’s write set.
This is ownership, not a universal normalized-artifact equality
promise: format frontends may independently re-derive normalized
bones, binds, tracks, or meshes within the established residual
policy. Authored raw source-local fields copied by the core builder are
additionally checked bit-exact by prove_scale.
Rewrite(ScaleRewriteRule)
The field is in the write set and receives the stated semantic rule.
Trait Implementations§
Source§impl Clone for ScaleFieldDisposition
impl Clone for ScaleFieldDisposition
Source§fn clone(&self) -> ScaleFieldDisposition
fn clone(&self) -> ScaleFieldDisposition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ScaleFieldDisposition
Source§impl Debug for ScaleFieldDisposition
impl Debug for ScaleFieldDisposition
impl Eq for ScaleFieldDisposition
Source§impl PartialEq for ScaleFieldDisposition
impl PartialEq for ScaleFieldDisposition
impl StructuralPartialEq for ScaleFieldDisposition
Auto Trait Implementations§
impl Freeze for ScaleFieldDisposition
impl RefUnwindSafe for ScaleFieldDisposition
impl Send for ScaleFieldDisposition
impl Sync for ScaleFieldDisposition
impl Unpin for ScaleFieldDisposition
impl UnsafeUnpin for ScaleFieldDisposition
impl UnwindSafe for ScaleFieldDisposition
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