pub struct Shaper { /* private fields */ }Implementations§
Source§impl Shaper
impl Shaper
pub fn new(settings: Settings) -> Shaper
pub fn get_or_shape(&mut self, params: ShapeParams) -> Rc<ShapedText>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Shaper
impl !RefUnwindSafe for Shaper
impl !Send for Shaper
impl !Sync for Shaper
impl Unpin for Shaper
impl !UnwindSafe for Shaper
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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