pub struct ShapeEngine { /* private fields */ }Implementations§
Source§impl ShapeEngine
impl ShapeEngine
pub fn new() -> Self
pub fn shape_text<P: FontProvider>( &self, provider: &P, request: &ShapeRequest, ) -> RassaResult<ShapedText>
Trait Implementations§
Source§impl Default for ShapeEngine
impl Default for ShapeEngine
Source§fn default() -> ShapeEngine
fn default() -> ShapeEngine
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ShapeEngine
impl RefUnwindSafe for ShapeEngine
impl Send for ShapeEngine
impl Sync for ShapeEngine
impl Unpin for ShapeEngine
impl UnsafeUnpin for ShapeEngine
impl UnwindSafe for ShapeEngine
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