Struct godot::classes::font::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, value: HorizontalAlignment, ) -> ExGetMultilineStringSize<'a>
pub fn width(self, value: f32) -> ExGetMultilineStringSize<'a>
pub fn font_size(self, value: i32) -> ExGetMultilineStringSize<'a>
pub fn max_lines(self, value: i32) -> ExGetMultilineStringSize<'a>
pub fn brk_flags(self, value: LineBreakFlag) -> ExGetMultilineStringSize<'a>
pub fn justification_flags( self, value: JustificationFlag, ) -> ExGetMultilineStringSize<'a>
pub fn direction(self, value: Direction) -> ExGetMultilineStringSize<'a>
pub fn orientation(self, value: 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