pub struct FormattedTextPlot { /* private fields */ }Expand description
Formatted text plot with dynamic content
Implementations§
Source§impl FormattedTextPlot
impl FormattedTextPlot
Sourcepub fn from_format(x: f64, y: f64, args: Arguments<'_>) -> Self
pub fn from_format(x: f64, y: f64, args: Arguments<'_>) -> Self
Create a formatted text plot from format arguments
Sourcepub fn with_pixel_offset(self, offset_x: f64, offset_y: f64) -> Self
pub fn with_pixel_offset(self, offset_x: f64, offset_y: f64) -> Self
Set pixel offset for fine positioning
Sourcepub fn with_flags(self, flags: TextFlags) -> Self
pub fn with_flags(self, flags: TextFlags) -> Self
Set text flags for customization
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FormattedTextPlot
impl RefUnwindSafe for FormattedTextPlot
impl Send for FormattedTextPlot
impl Sync for FormattedTextPlot
impl Unpin for FormattedTextPlot
impl UnwindSafe for FormattedTextPlot
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