Struct ExShapedTextOverrunTrimToWidth
pub struct ExShapedTextOverrunTrimToWidth<'ex> { /* private fields */ }Expand description
Default-param extender for TextServer::shaped_text_overrun_trim_to_width_ex.
Implementations§
§impl<'ex> ExShapedTextOverrunTrimToWidth<'ex>
impl<'ex> ExShapedTextOverrunTrimToWidth<'ex>
pub fn width(self, width: f64) -> ExShapedTextOverrunTrimToWidth<'ex>
pub fn overrun_trim_flags( self, overrun_trim_flags: TextOverrunFlag, ) -> ExShapedTextOverrunTrimToWidth<'ex>
pub fn done(self)
Auto Trait Implementations§
impl<'ex> Freeze for ExShapedTextOverrunTrimToWidth<'ex>
impl<'ex> RefUnwindSafe for ExShapedTextOverrunTrimToWidth<'ex>
impl<'ex> !Send for ExShapedTextOverrunTrimToWidth<'ex>
impl<'ex> !Sync for ExShapedTextOverrunTrimToWidth<'ex>
impl<'ex> Unpin for ExShapedTextOverrunTrimToWidth<'ex>
impl<'ex> !UnwindSafe for ExShapedTextOverrunTrimToWidth<'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