[−][src]Function ruma_serde::is_default
pub fn is_default<T: Default + PartialEq>(val: &T) -> bool
Check whether a value is equal to its default value.
pub fn is_default<T: Default + PartialEq>(val: &T) -> bool
Check whether a value is equal to its default value.