Closed newAM closed 2 years ago
https://rust-lang.github.io/api-guidelines/checklist.html https://raw.githubusercontent.com/rust-lang/api-guidelines/master/src/checklist.md
as_
, to_
, into_
conventions iter
, iter_mut
, into_iter
Copy
, Clone
, Eq
, PartialEq
, Ord
, PartialOrd
, Hash
, Debug
,
Display
, Default
From
, AsRef
, AsMut
FromIterator
and Extend
Serialize
, Deserialize
Send
and Sync
where possible Hex
, Octal
, Binary
formatting R: Read
and W: Write
by value ?
, not try!
, not unwrap
Deref
and DerefMut
bool
or Option
bitflags
, not enums Debug
Debug
representation is never empty