Skip to main content

struct_partial_eq

Function struct_partial_eq 

Source
pub fn struct_partial_eq(
    a: &(dyn Struct + 'static),
    b: &(dyn PartialReflect + 'static),
) -> Option<bool>
Expand description

Compares a Struct with a PartialReflect value.

Returns true if and only if all of the following are true:

Returns None if the comparison couldn’t even be performed.