File tree 1 file changed +24
-1
lines changed
1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
### Breaking
6
6
7
+ #### Fewer unwraps.
8
+
9
+ Infallible ` Taffy ` methods that have previously returned ` TaffyResult ` will simply return the ` Ok ` value only.
10
+ This change affects the following methods:
11
+
12
+ * ` Taffy::add_child ` ,
13
+ * ` Taffy::child_count ` ,
14
+ * ` Taffy::children ` ,
15
+ * ` Taffy::compute_layout ` ,
16
+ * ` Taffy::dirty ` ,
17
+ * ` Taffy::layout ` ,
18
+ * ` Taffy::mark_dirty ` ,
19
+ * ` Taffy::new_leaf_with_measure ` ,
20
+ * ` Taffy::new_with_children ` ,
21
+ * ` Taffy::remove ` ,
22
+ * ` Taffy::set_children ` ,
23
+ * ` Taffy::set_measure ` ,
24
+ * ` Taffy::set_style ` ,
25
+ * ` Taffy::style ` ,
26
+ * ` Taffy::new_leaf ` ,
27
+
28
+ #### Replace ` Points ` with ` Length `
29
+
7
30
Many APIs have been renamed to replace ` points ` or ` Points ` with ` length ` or ` Length ` .
8
- This new name better describes one-dimentional measure of space in some unspecified unit
31
+ This new name better describes one-dimensional measure of space in some unspecified unit
9
32
which is often unrelated to the PostScript point or the CSS ` pt ` unit.
10
33
11
34
This also removes a misleading similarity with the 2D ` Point ` ,
You can’t perform that action at this time.
0 commit comments