From 0653c41f12a6e5bed35723b401c5b4d9505059bf Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 22 Sep 2026 14:40:53 +0200 Subject: refactor(opengl-bindings): fix clippy lints --- opengl-bindings/src/blending.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'opengl-bindings/src/blending.rs') 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; -- cgit v1.2.3-18-g5258