pub struct Section {
pub id: Option<String>,
pub lang: Option<LanguageTag>,
pub content: Option<SectionContent>,
}Expand description
A basic block of a book, can contain more child sections or textual content
Fields§
§id: Option<String>§lang: Option<LanguageTag>§content: Option<SectionContent>Trait Implementations§
source§impl PartialEq<Section> for Section
impl PartialEq<Section> for Section
impl StructuralPartialEq for Section
Auto Trait Implementations§
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