pub enum Fidelity {
ExactSameFormat,
Canonical,
}Expand description
How an emitted artifact inventory relates to the module supplied to its writer.
Variants§
ExactSameFormat
The unchanged module retained this format’s source bytes and emitted them byte for byte.
Canonical
The writer serialized the typed value. Projection losses, when any, are reported as diagnostics rather than encoded in this enum.
Trait Implementations§
impl Copy for Fidelity
impl Eq for Fidelity
impl StructuralPartialEq for Fidelity
Auto Trait Implementations§
impl Freeze for Fidelity
impl RefUnwindSafe for Fidelity
impl Send for Fidelity
impl Sync for Fidelity
impl Unpin for Fidelity
impl UnsafeUnpin for Fidelity
impl UnwindSafe for Fidelity
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