pub struct Header {
pub height: f32,
pub content: Rc<dyn Fn(&PageContext) -> Element>,
}Expand description
A header band with a fixed, document-creation-time height (ADR-011): the closure may vary its content per page but never the reserved band size.
Fields§
§height: f32§content: Rc<dyn Fn(&PageContext) -> Element>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Header
impl !Send for Header
impl !Sync for Header
impl !UnwindSafe for Header
impl Freeze for Header
impl Unpin for Header
impl UnsafeUnpin for Header
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