pub struct IrDiff {
pub unit_change: Option<(Units, Units)>,
pub tolerance_change: Option<(Tolerances, Tolerances)>,
pub per_arena: Vec<ArenaDiff>,
}Expand description
Structural changes between two IR documents.
Fields§
§unit_change: Option<(Units, Units)>(left, right) units, present only when the two documents’ units differ.
tolerance_change: Option<(Tolerances, Tolerances)>(left, right) tolerances, present only when the two documents’ tolerances differ.
per_arena: Vec<ArenaDiff>Per-arena diffs, one entry per arena compared.
Implementations§
Trait Implementations§
Source§impl JsonSchema for IrDiff
impl JsonSchema for IrDiff
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for IrDiff
Auto Trait Implementations§
impl Freeze for IrDiff
impl RefUnwindSafe for IrDiff
impl Send for IrDiff
impl Sync for IrDiff
impl Unpin for IrDiff
impl UnsafeUnpin for IrDiff
impl UnwindSafe for IrDiff
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