Skip to main content

Questions tagged [builder-pattern]

Filter by
Sorted by
Tagged with
0 votes
0 answers
41 views

I've been looking on how to use Builder pattern on rust with structs, but all examples I've seen only use primitive data. Given the structs: ...
user31872722's user avatar
11 votes
4 answers
2k views

I tried to implement Builder pattern, a popular design pattern for constructing objects consisting of different components, in Rust. Here is my attempt: ...
kiner_shah's user avatar
4 votes
1 answer
744 views

The code below is used to upgrade the firmware of three different types of cameras. I am not good at design patterns. I wonder if it is suitable to use builder pattern and facade pattern here. Since ...
John's user avatar
  • 469
2 votes
1 answer
82 views

OK writing a C++ wrapper on top of openSSL. Setting up the SSL_CTX* object. There are a whole bunch of extra functions to specify functionality on how this object ...
Loki Astari's user avatar
  • 97.7k
2 votes
0 answers
83 views

If you'd like to pivot this: ...
candied_orange's user avatar
4 votes
0 answers
112 views

If you'd like to print this: ...
candied_orange's user avatar
2 votes
1 answer
192 views

I have a couple of questions regarding how builder should be implemented idiomatically in Rust when it's necessary to call its parts depending on some flags. Here's my take on three different designs ...
sukhmel's user avatar
  • 223
3 votes
1 answer
115 views

Races have many distinguishing physical characteristics. But apart from appearances, different races have other distinguishing characteristcs, all of I've decided to be built using the Builder ...
prestokeys's user avatar
  • 1,401