Skip to content

Commit 6450470

Browse files
DataTrinymwcampbell
authored andcommitted
doc: Document the set properties
1 parent 6c622cf commit 6450470

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

common/src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1631,7 +1631,12 @@ usize_property_methods! {
16311631
(RowSpan, row_span, set_row_span, clear_row_span),
16321632
(ColumnSpan, column_span, set_column_span, clear_column_span),
16331633
(Level, level, set_level, clear_level),
1634+
/// For containers like [`Role::ListBox`], specifies the total number of items.
16341635
(SizeOfSet, size_of_set, set_size_of_set, clear_size_of_set),
1636+
/// For items like [`Role::ListBoxOption`], specifies their index in the item list.
1637+
/// This may not exceed the value of [`size_of_set`] as set on the container.
1638+
///
1639+
/// [`size_of_set`]: Node::size_of_set
16351640
(PositionInSet, position_in_set, set_position_in_set, clear_position_in_set)
16361641
}
16371642

0 commit comments

Comments
 (0)