[][src]Trait embedded_text::rendering::line::SpaceConfig

pub trait SpaceConfig: Copy {
    fn peek_next_width(&self, n: u32) -> u32;
fn next_space_width(&mut self) -> u32; }

Retrieves size of space characters.

Required methods

fn peek_next_width(&self, n: u32) -> u32

Look at the size of next n spaces, without advancing.

fn next_space_width(&mut self) -> u32

Get the width of the next space and advance.

Loading content...

Implementors

impl SpaceConfig for JustifiedSpaceConfig[src]

impl SpaceConfig for UniformSpaceConfig[src]

Loading content...