Skip to content

Commit 30a4398

Browse files
author
InAnYan
committed
Add documentation to format_tools
1 parent f8ab967 commit 30a4398

File tree

1 file changed

+7
-0
lines changed
  • module/core/format_tools/src/format

1 file changed

+7
-0
lines changed

module/core/format_tools/src/format/print.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,13 @@ mod private
229229
#[ derive( Debug, Default ) ]
230230
pub struct RowDescriptor
231231
{
232+
/// Index of the row.
232233
pub irow : usize,
234+
/// Height of the row.
233235
pub height : usize,
236+
/// Type of the line: header or regular.
234237
pub typ : LineType,
238+
/// Visibility of the row.
235239
pub vis : bool,
236240
}
237241

@@ -240,8 +244,11 @@ mod private
240244
#[ derive( Debug, Default ) ]
241245
pub struct ColDescriptor< 'label >
242246
{
247+
/// Index of the column.
243248
pub icol : usize,
249+
/// Column width.
244250
pub width : usize,
251+
/// Label of the column.
245252
pub label : &'label str,
246253
}
247254

0 commit comments

Comments
 (0)