Struct ExShapedTextDraw
pub struct ExShapedTextDraw<'ex> { /* private fields */ }Expand description
Default-param extender for TextServer::shaped_text_draw_ex.
Implementations§
§impl<'ex> ExShapedTextDraw<'ex>
impl<'ex> ExShapedTextDraw<'ex>
pub fn clip_l(self, clip_l: f64) -> ExShapedTextDraw<'ex>
pub fn clip_r(self, clip_r: f64) -> ExShapedTextDraw<'ex>
pub fn color(self, color: Color) -> ExShapedTextDraw<'ex>
pub fn oversampling(self, oversampling: f32) -> ExShapedTextDraw<'ex>
pub fn done(self)
Auto Trait Implementations§
impl<'ex> Freeze for ExShapedTextDraw<'ex>
impl<'ex> RefUnwindSafe for ExShapedTextDraw<'ex>
impl<'ex> !Send for ExShapedTextDraw<'ex>
impl<'ex> !Sync for ExShapedTextDraw<'ex>
impl<'ex> Unpin for ExShapedTextDraw<'ex>
impl<'ex> UnwindSafe for ExShapedTextDraw<'ex>
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