Skip to main content

TextShaper

Trait TextShaper 

Source
pub trait TextShaper {
    // Required method
    fn shape<const N: usize>(
        &self,
        text: &str,
        config: ShapingConfig,
        out: &mut Vec<ShapedGlyph, N>,
    );
}

Required Methods§

Source

fn shape<const N: usize>( &self, text: &str, config: ShapingConfig, out: &mut Vec<ShapedGlyph, N>, )

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§