1pub const fn default_true() -> bool { 2 true 3} 4 5pub fn is_default<T: Default + PartialEq>(value: &T) -> bool { 6 *value == T::default() 7}