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

pub trait SpaceConfig: Copy {
    fn peek_next_width(&self, n: u32) -> u32;
fn consume(&mut self, n: u32) -> 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 consume(&mut self, n: u32) -> u32

Advance the internal state

Loading content...

Implementors

impl SpaceConfig for JustifiedSpaceConfig[src]

impl SpaceConfig for UniformSpaceConfig[src]

Loading content...