Skip to content

Commit b0bac00

Browse files
authored
Make the fields of the TrackRepeat struct public (parcel-bundler#490)
1 parent 31ce350 commit b0bac00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/properties/grid.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,12 @@ pub enum TrackBreadth {
163163
#[cfg_attr(feature = "jsonschema", derive(schemars::JsonSchema))]
164164
pub struct TrackRepeat<'i> {
165165
/// The repeat count.
166-
count: RepeatCount,
166+
pub count: RepeatCount,
167167
/// The line names to repeat.
168168
#[cfg_attr(feature = "serde", serde(borrow))]
169-
line_names: Vec<CustomIdentList<'i>>,
169+
pub line_names: Vec<CustomIdentList<'i>>,
170170
/// The track sizes to repeat.
171-
track_sizes: Vec<TrackSize>,
171+
pub track_sizes: Vec<TrackSize>,
172172
}
173173

174174
/// A [`<repeat-count>`](https://drafts.csswg.org/css-grid-2/#typedef-track-repeat) value,

0 commit comments

Comments
 (0)