pub trait ShapingData {
// Required methods
fn substitute(
&self,
request: LookupRequest<'_, '_>,
glyphs: &mut GlyphBuffer<'_>,
) -> Result<LookupStatus, ShapeError>;
fn position(
&self,
request: LookupRequest<'_, '_>,
glyphs: &mut GlyphBuffer<'_>,
) -> Result<LookupStatus, ShapeError>;
}Required Methods§
fn substitute( &self, request: LookupRequest<'_, '_>, glyphs: &mut GlyphBuffer<'_>, ) -> Result<LookupStatus, ShapeError>
fn position( &self, request: LookupRequest<'_, '_>, glyphs: &mut GlyphBuffer<'_>, ) -> Result<LookupStatus, ShapeError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".