• Blog
  • Photography
  • About me

Zbigniew Siciarzblog

24 days of Rust - derive_builder

Today our focus is the derive_builder crate. It provides a macro to automatically generate setter methods for struct fields. And since all setters return the struct itself, we can chain them in a so called builder pattern.

Continue reading »
Written on Dec. 5, 2016

Top articles

  • 24 days of Rust - calling Rust from other languages
  • 24 days of Rust - rayon
  • 24 days of Rust - working with JSON
  • 24 days of Rust - serde
  • 24 days of Rust - hyper
  • 24 days of Rust - postgres
  • 24 days of Rust - diesel
  • 24 days of Rust - Cargo and crates.io
  • 24 days of Rust - static initialization
  • 24 days of Rust - racer

Archive

  • December 2016
  • November 2016
  • December 2014
  • September 2014
  • August 2014
  • April 2014
  • March 2014
  • July 2013
  • May 2013
  • April 2013
  • March 2013
  • January 2013
  • July 2012
  • December 2010
  • July 2010
  • April 2010
  • March 2010
  • January 2010

Copyright Zbigniew Siciarz 2009-2022.