Struct ExGetMultilineStringSize
pub struct ExGetMultilineStringSize<'a> { /* private fields */ }
Expand description
Default-param extender for Font::get_multiline_string_size_ex
.
Implementations§
§impl<'a> ExGetMultilineStringSize<'a>
impl<'a> ExGetMultilineStringSize<'a>
pub fn alignment( self, alignment: HorizontalAlignment, ) -> ExGetMultilineStringSize<'a>
pub fn width(self, width: f32) -> ExGetMultilineStringSize<'a>
pub fn font_size(self, font_size: i32) -> ExGetMultilineStringSize<'a>
pub fn max_lines(self, max_lines: i32) -> ExGetMultilineStringSize<'a>
pub fn brk_flags(self, brk_flags: LineBreakFlag) -> ExGetMultilineStringSize<'a>
pub fn justification_flags( self, justification_flags: JustificationFlag, ) -> ExGetMultilineStringSize<'a>
pub fn direction(self, direction: Direction) -> ExGetMultilineStringSize<'a>
pub fn orientation( self, orientation: Orientation, ) -> ExGetMultilineStringSize<'a>
pub fn done(self) -> Vector2
Auto Trait Implementations§
impl<'a> Freeze for ExGetMultilineStringSize<'a>
impl<'a> RefUnwindSafe for ExGetMultilineStringSize<'a>
impl<'a> !Send for ExGetMultilineStringSize<'a>
impl<'a> !Sync for ExGetMultilineStringSize<'a>
impl<'a> Unpin for ExGetMultilineStringSize<'a>
impl<'a> UnwindSafe for ExGetMultilineStringSize<'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