pub struct Title { /* private fields */ }Implementations§
Source§impl Title
impl Title
pub fn new(text: &str) -> Title
pub fn font(self, font: Font) -> Title
pub fn side(self, side: Side) -> Title
pub fn x_ref(self, xref: Reference) -> Title
pub fn y_ref(self, yref: Reference) -> Title
pub fn x(self, x: f64) -> Title
pub fn y(self, y: f64) -> Title
pub fn x_anchor(self, anchor: Anchor) -> Title
pub fn y_anchor(self, anchor: Anchor) -> Title
pub fn pad(self, pad: Pad) -> Title
Trait Implementations§
Source§impl Serialize for Title
impl Serialize for Title
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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