Function vector_core::serde::is_default

source ·
pub fn is_default<E: Default + PartialEq>(e: &E) -> bool
Expand description

Answers “Is this value in it’s default state?” which can be used to skip serializing the value.