pub struct LogicalRuns<'a> { /* private fields */ }Implementations§
Source§impl<'a> LogicalRuns<'a>
impl<'a> LogicalRuns<'a>
pub fn resolve( text: &str, bidi: &BidiText<'_>, typefaces: &[&dyn Typeface], output: &'a mut [LogicalRun], ) -> Result<Self, LayoutError>
pub const fn text(&self) -> TextRange
pub const fn runs(&self) -> &[LogicalRun]
pub fn shape_into<'output>( &self, text: &str, typefaces: &[&dyn Typeface], features: &[FontFeature], glyphs: &'output mut [ShapedGlyph], runs: &'output mut [GlyphRun], ) -> Result<ShapedText<'output>, LayoutError>
pub fn layout_into<'output>( &self, text: &str, typefaces: &[&dyn Typeface], features: &[FontFeature], broken: &BrokenLines<'_, '_>, options: LayoutOptions, buffers: LayoutBuffers<'output>, ) -> Result<ParagraphLayout<'output>, LayoutError>
Auto Trait Implementations§
impl<'a> Freeze for LogicalRuns<'a>
impl<'a> RefUnwindSafe for LogicalRuns<'a>
impl<'a> Send for LogicalRuns<'a>
impl<'a> Sync for LogicalRuns<'a>
impl<'a> Unpin for LogicalRuns<'a>
impl<'a> UnsafeUnpin for LogicalRuns<'a>
impl<'a> UnwindSafe for LogicalRuns<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more