#[non_exhaustive]pub struct BuildsDiffer {
pub module: String,
pub item: String,
pub first: String,
pub second: String,
pub difference: String,
}Expand description
What two builds’ IRs disagree on; see Error::BuildsDiffer.
Its Display is the error’s message.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.module: StringThe IR module the item is in.
item: StringThe item, such as type `cVec4` or function `Entity::Update` .
first: StringThe label of the build whose IR has it first.
second: StringThe label of the build that disagrees.
difference: StringHow they differ, such as size 0x10 vs 0x20.
Trait Implementations§
Source§impl Clone for BuildsDiffer
impl Clone for BuildsDiffer
Source§fn clone(&self) -> BuildsDiffer
fn clone(&self) -> BuildsDiffer
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 moreSource§impl Debug for BuildsDiffer
impl Debug for BuildsDiffer
Source§impl Display for BuildsDiffer
impl Display for BuildsDiffer
impl Eq for BuildsDiffer
Source§impl PartialEq for BuildsDiffer
impl PartialEq for BuildsDiffer
impl StructuralPartialEq for BuildsDiffer
Auto Trait Implementations§
impl Freeze for BuildsDiffer
impl RefUnwindSafe for BuildsDiffer
impl Send for BuildsDiffer
impl Sync for BuildsDiffer
impl Unpin for BuildsDiffer
impl UnsafeUnpin for BuildsDiffer
impl UnwindSafe for BuildsDiffer
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