diff options
Diffstat (limited to 'opengl-bindings/src/blending.rs')
| -rw-r--r-- | opengl-bindings/src/blending.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/opengl-bindings/src/blending.rs b/opengl-bindings/src/blending.rs index e4229ed..0cb4891 100644 --- a/opengl-bindings/src/blending.rs +++ b/opengl-bindings/src/blending.rs @@ -28,18 +28,21 @@ pub struct Configuration impl Configuration { + #[must_use] pub fn with_source_factor(mut self, source_factor: Factor) -> Self { self.source_factor = source_factor; self } + #[must_use] pub fn with_destination_factor(mut self, destination_factor: Factor) -> Self { self.destination_factor = destination_factor; self } + #[must_use] pub fn with_equation(mut self, equation: Equation) -> Self { self.equation = equation; |
