Diff

Trait Diff 

Source
pub trait Diff {
    // Required method
    fn iter_field_diffs(&self) -> impl Iterator<Item = FieldDiff>;
}
Expand description

This is implemented on the “Diff” struct if #[partial(diff)] is specified. Requires all fields on the “Full” struct to implement std::fmt::Debug

Required Methods§

Source

fn iter_field_diffs(&self) -> impl Iterator<Item = FieldDiff>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§