Closed daym closed 10 months ago
Right now, ApcbIoOptions can only be constructed via ApcbIoOptions::default().
ApcbIoOptions::default()
It would be nice to allow the user to build any options using the usual Rust builder pattern.
https://rust-unofficial.github.io/patterns/patterns/creational/builder.html
The reason why this is done using functions instead of struct fields:
Right now, ApcbIoOptions can only be constructed via
ApcbIoOptions::default()
.It would be nice to allow the user to build any options using the usual Rust builder pattern.
https://rust-unofficial.github.io/patterns/patterns/creational/builder.html
The reason why this is done using functions instead of struct fields: