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