File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 44
55### Breaking
66
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+
730Many 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
932which is often unrelated to the PostScript point or the CSS ` pt ` unit.
1033
1134This also removes a misleading similarity with the 2D ` Point ` ,
You can’t perform that action at this time.
0 commit comments