Browse Source

make members public (in lib context)

master
yggverse 2 months ago
parent
commit
d0acac1686
  1. 12
      src/app/browser/window/tab/item/page/content/text/gemini/reader/parser/header.rs

12
src/app/browser/window/tab/item/page/content/text/gemini/reader/parser/header.rs

@ -7,8 +7,8 @@ pub enum Level { @@ -7,8 +7,8 @@ pub enum Level {
}
pub struct Header {
value: GString,
level: Level,
pub value: GString,
pub level: Level,
}
impl Header {
@ -44,12 +44,4 @@ impl Header { @@ -44,12 +44,4 @@ impl Header {
value: GString::from(value.as_str()),
})
}
pub fn level(&self) -> &Level {
&self.level
}
pub fn value(&self) -> &str {
self.value.as_str()
}
}

Loading…
Cancel
Save