Struct ExDrawString
pub struct ExDrawString<'a> { /* private fields */ }
Expand description
Default-param extender for Font::draw_string_ex
.
Implementations§
§impl<'a> ExDrawString<'a>
impl<'a> ExDrawString<'a>
pub fn alignment(self, value: HorizontalAlignment) -> ExDrawString<'a>
pub fn width(self, value: f32) -> ExDrawString<'a>
pub fn font_size(self, value: i32) -> ExDrawString<'a>
pub fn modulate(self, value: Color) -> ExDrawString<'a>
pub fn justification_flags(self, value: JustificationFlag) -> ExDrawString<'a>
pub fn direction(self, value: Direction) -> ExDrawString<'a>
pub fn orientation(self, value: 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