fn baseline(&self, span: &TextSpan) -> Result<u16> {
        match span.state.just_page {
            JustificationPage::Top => self.baseline_top(span),
            JustificationPage::Middle => self.baseline_middle(span),
            JustificationPage::Bottom => self.baseline_bottom(span),
            _ => unreachable!(),
        }
    }
/// Get the baseline of a text span.
Get the baseline of a text span.
Get the baseline of a text span .
fn baseline(&self, span: &TextSpan) -> Result<u16> {
        match span.state.just_page {
            JustificationPage::Top => self.baseline_top(span),
            JustificationPage::Middle => self.baseline_middle(span),
            JustificationPage::Bottom => self.baseline_bottom(span),
            _ => unreachable!(),
        }
    }
fn baseline ( & self , span : & TextSpan ) -> Result < u16 > { match span . state . just_page { JustificationPage :: Top => self . baseline_top ( span ) , JustificationPage :: Middle => self . baseline_middle ( span ) , JustificationPage :: Bottom => self . baseline_bottom ( span ) , _ => unreachable ! ( ) , } }
Get the baseline of a text span.
Get the baseline of a text span .
&self
span
&TextSpan