Trait partial_derive2::PartialDiff
source · pub trait PartialDiff {
type Partial;
// Required method
fn partial_diff(self, partial: Self::Partial) -> Self::Partial;
}Expand description
This is implemented on the “Full” struct. Required all fields on the “Full” struct to implement PartialEq
Required Associated Types§
Required Methods§
sourcefn partial_diff(self, partial: Self::Partial) -> Self::Partial
fn partial_diff(self, partial: Self::Partial) -> Self::Partial
Diffs a partial against self, returning a partial where all “Some” fields are not equal to the corresponding field on Self.