pub fn is_default<T: Default + PartialEq>(value: &T) -> bool
Checks if a given value is equal to its type’s default value.