pub struct Title { /* private fields */ }
Implementations§
Source§impl Title
impl Title
pub fn new(text: &str) -> Self
pub fn font(self, font: Font) -> Self
pub fn side(self, side: Side) -> Self
pub fn x_ref(self, xref: Reference) -> Self
pub fn y_ref(self, yref: Reference) -> Self
pub fn x(self, x: f64) -> Self
pub fn y(self, y: f64) -> Self
pub fn x_anchor(self, anchor: Anchor) -> Self
pub fn y_anchor(self, anchor: Anchor) -> Self
pub fn pad(self, pad: Pad) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Title
impl !RefUnwindSafe for Title
impl Send for Title
impl Sync for Title
impl Unpin for Title
impl !UnwindSafe for Title
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