pub struct TextAnnotation<'a> { /* private fields */ }Expand description
Text annotation with automatic positioning
Implementations§
Source§impl<'a> TextAnnotation<'a>
impl<'a> TextAnnotation<'a>
Sourcepub fn no_auto_offset(self) -> Self
pub fn no_auto_offset(self) -> Self
Disable automatic offset calculation
Sourcepub fn with_flags(self, flags: TextFlags) -> Self
pub fn with_flags(self, flags: TextFlags) -> Self
Set text flags
Auto Trait Implementations§
impl<'a> Freeze for TextAnnotation<'a>
impl<'a> RefUnwindSafe for TextAnnotation<'a>
impl<'a> Send for TextAnnotation<'a>
impl<'a> Sync for TextAnnotation<'a>
impl<'a> Unpin for TextAnnotation<'a>
impl<'a> UnwindSafe for TextAnnotation<'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