fn span_x(&self, span: &TextSpan) -> Result<u16> {
        match span.state.just_line {
            JustificationLine::Left => self.span_x_left(span),
            JustificationLine::Center => self.span_x_center(span),
            JustificationLine::Right => self.span_x_right(span),
            _ => unreachable!(),
        }
    }
/// Get the X position of a text span.
Get the X position of a text span.
Get the X position of a text span .
fn span_x(&self, span: &TextSpan) -> Result<u16> {
        match span.state.just_line {
            JustificationLine::Left => self.span_x_left(span),
            JustificationLine::Center => self.span_x_center(span),
            JustificationLine::Right => self.span_x_right(span),
            _ => unreachable!(),
        }
    }
fn span_x ( & self , span : & TextSpan ) -> Result < u16 > { match span . state . just_line { JustificationLine :: Left => self . span_x_left ( span ) , JustificationLine :: Center => self . span_x_center ( span ) , JustificationLine :: Right => self . span_x_right ( span ) , _ => unreachable ! ( ) , } }
Get the X position of a text span.
Get the X position of a text span .
&self
span
&TextSpan