pub struct HfSection {
pub text: String,
pub bold: bool,
pub italic: bool,
pub size: Option<f32>,
}Expand description
One header/footer section: its text and whether &B made it bold.
Fields§
§text: String§bold: bool§italic: bool§size: Option<f32>Trait Implementations§
impl StructuralPartialEq for HfSection
Auto Trait Implementations§
impl Freeze for HfSection
impl RefUnwindSafe for HfSection
impl Send for HfSection
impl Sync for HfSection
impl Unpin for HfSection
impl UnsafeUnpin for HfSection
impl UnwindSafe for HfSection
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