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