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