pub struct Section {
pub container: LazyContainer,
pub title: Option<String>,
pub notes: Option<Box<[String]>>,
pub content: Option<String>,
}Fields§
§container: LazyContainer§title: Option<String>§notes: Option<Box<[String]>>§content: Option<String>Implementations§
Source§impl Section
impl Section
pub fn new( table: &Table, container: LazyContainer, entry: &str, idx: u8, logger: impl Logger, ) -> Self
pub fn pull( &mut self, idx: u8, path: &Path, one_file: bool, logger: impl Logger, ) -> Table
pub fn store_lazy(&self, logger: impl Logger)
pub fn load_lazy(container: LazyContainer) -> Self
pub fn clear_cache(&mut self)
pub fn fill_cache(&mut self, logger: impl Logger)
pub fn notes(&mut self, logger: impl Logger) -> &mut Box<[String]>
pub fn title(&mut self, logger: impl Logger) -> &mut String
pub fn content(&mut self, logger: impl Logger) -> &mut String
Auto Trait Implementations§
impl Freeze for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnwindSafe for Section
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more