Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement all relevant traits #11

Open
32 of 77 tasks
kjetilkjeka opened this issue May 21, 2018 · 1 comment
Open
32 of 77 tasks

Implement all relevant traits #11

kjetilkjeka opened this issue May 21, 2018 · 1 comment

Comments

@kjetilkjeka
Copy link
Collaborator

kjetilkjeka commented May 21, 2018

Traits that should be implemented

Format (std::fmt)

  • Binary
  • Debug
  • LowerHex
  • UpperHex
  • Display
  • Octal

Comparisons (std::cmp)

  • PartialOrd<Self>
  • Ord
  • PartialEq<Self>
  • Eq

Conversion (std::convert)

  • TryFrom<T> (for all numeric T)
  • From<T> (for all possible numeric T)
  • FromStr

Operations (std::ops)

  • Add<Self>
  • Add<&Self>
  • Add<Self> for &Self
  • Add<&Self>for &Self
  • AddAssign<Self>
  • AddAssign<&Self>
  • BitAnd<Self>
  • BitAnd<&Self>
  • BitAnd<Self> for &Self
  • BitAnd<&Self> for &Self
  • BitAndAssign<Self>
  • BitAndAssign<&Self>
  • BitOr<Self>
  • BitOr<&Self>
  • BitOr<Self> for &Self
  • BitOr<&Self> for &Self
  • BitOrAssign<Self>
  • BitOrAssign<&Self>
  • BitXor<Self>
  • BitXor<&Self>
  • BitXor<Self> for &Self
  • BitXor<&Self> for &Self
  • BitXorAssign<Self>
  • BitXorAssign<&Self>
  • Div<Self>
  • Div<&Self>
  • Div<Self> for &Self
  • Div<&Self> for &Self
  • DivAssign<Self>
  • DivAssign<&Self>
  • Sum<Self>
  • Sum<&Self>
  • Mul<Self>
  • Mul<&Self>
  • Mul<Self> for &Self
  • Mul<&Self> for &Self
  • MulAssign<Self>
  • MulAssign<&Self>
  • Not
  • Not for &Self
  • Product<Self>
  • Product<&Self>
  • Rem<Self>
  • Rem<&Self>
  • Rem<Self> for &Self
  • Rem<&Self> for &Self
  • RemAssign<Self>
  • RemAssign<&Self>
  • Shl<T> (for all possible numeric T and &T)
  • Shl<&T> (for all possible numeric T and &T)
  • Shr<T> (for all possible numeric T and &T)
  • Shr<&T> (for all possible numeric Tand &T)
  • ShlAssign<T> (for all possible numeric Tand &T)
  • ShlAssign<&T> (for all possible numeric Tand &T)
  • ShrAssign<T> (for all possible numeric Tand &T)
  • ShrAssign<&T> (for all possible numeric Tand &T)
  • Sub<Self>
  • Sub<&Self>
  • Sub<Self> for &Self
  • Sub<&Self> for &Self
  • SubAssign<Self>
  • SubAssign<&Self>

Other

  • std::hash::Hash
  • std::default::Default
@dzmitry-lahoda
Copy link

seems on master a lot impelemented, like TryFrom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants