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