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