Skip to content
Snippets Groups Projects
Commit 78ced5b4 authored by AdminXVII's avatar AdminXVII
Browse files

Pass by values for copy types

parent 39a674ef
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ impl Alignment {
/// Calculates the position (x or y) of the widget depending on the available measure, the goal measure
/// margin and alignment.
pub fn align_position(
&self,
self,
available_measure: f64,
measure: f64,
margin_start: f64,
......@@ -33,7 +33,7 @@ impl Alignment {
/// Calculates the measure (measure or height) of the widget depending on the available measure, the goal measure
/// margin and horizontal alignment.
pub fn align_measure(
&self,
self,
available_measure: f64,
measure: f64,
margin_start: f64,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment