Skip to content

Commit 4b8f0cb

Browse files
committed
fpt: make EntryFlags fields pub
Signed-off-by: Daniel Maslowski <[email protected]>
1 parent 1312ce7 commit 4b8f0cb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/part/fpt.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -203,16 +203,16 @@ impl Validity {
203203
#[derive(Immutable, IntoBytes, FromBytes, Serialize, Deserialize)]
204204
pub struct EntryFlags {
205205
#[bits(7)]
206-
kind: PartitionKind,
207-
copy_to_dram_cache: bool,
206+
pub kind: PartitionKind,
207+
pub copy_to_dram_cache: bool,
208208
#[bits(7)]
209209
_res: u8,
210-
len1: bool,
211-
len2: bool,
210+
pub len1: bool,
211+
pub len2: bool,
212212
#[bits(7)]
213213
_res: u8,
214214
#[bits(8)]
215-
validity: Validity,
215+
pub validity: Validity,
216216
}
217217

218218
#[derive(Immutable, IntoBytes, FromBytes, Serialize, Deserialize, Clone, Copy, Debug)]

0 commit comments

Comments
 (0)