/// This test verifies that a skipped field will still prefer an explicit default /// over the default that would come from its field type. It would be incorrect for /// `Defaulting::from_derive_input` to fail here, and it would be wrong for the value /// of `dolor` to be `None`. #[test] fn verify_default_supersedes_from_none() { fn default_dolor() -> Option<u8> {
Some(2)
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.