pub struct Title<'a> { /* private fields */ }Implementations§
Source§impl<'a> Title<'a>
impl<'a> Title<'a>
Sourcepub fn text(&mut self, text: &'a str) -> &mut Self
pub fn text(&mut self, text: &'a str) -> &mut Self
Sets the title of the chart. If it is empty, no title is displayed. Note that before the existence of title.text, the title’s contents used to be defined as the title attribute itself. This behavior has been deprecated.
default: ``
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Title<'a>
impl<'a> RefUnwindSafe for Title<'a>
impl<'a> Send for Title<'a>
impl<'a> Sync for Title<'a>
impl<'a> Unpin for Title<'a>
impl<'a> UnwindSafe for Title<'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