Refactor swapper code with traits.

Change-Id: Ia27d3a11fea86d2ac430c3455d5247cfc4891e70
8 files changed
tree: 5f2b09662bc7c98d082c0d1a00e37fd947e0c5a0
  1. benches/
  2. c/
  3. src/
  4. .gitignore
  5. bindings.h
  6. build.rs
  7. Cargo.lock
  8. Cargo.toml