Title: Theory / Unimportant / CS / Programming / Rust / Library / Default

Typ: Default
Meaning: Type having a default value
Function: default() -> Self

Instruction: T.default()
Page: https://doc.rust-lang.org/std/default/trait.Default.html
Returns: the default value of T

Instruction: #[derive(Default)]
struct StructName {
  structContent
}
Page: https://doc.rust-lang.org/std/default/trait.Default.html
Meaning: the structure has default, with the default value of all of its elements
Similar to: StructName {
  structContent
}