pub struct PanelTitle<'a> { /* private fields */ }Expand description
One title added via Panel::add_title: its text, which edge it’s drawn on, and its
alignment.
Not constructed directly; built up through Panel::add_title’s arguments instead, the same
as Panel::title/Panel::title_align build the single implicit top title.
Trait Implementations§
Source§impl<'a> Clone for PanelTitle<'a>
impl<'a> Clone for PanelTitle<'a>
Source§fn clone(&self) -> PanelTitle<'a>
fn clone(&self) -> PanelTitle<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for PanelTitle<'a>
impl<'a> Debug for PanelTitle<'a>
impl<'a> Copy for PanelTitle<'a>
Auto Trait Implementations§
impl<'a> Freeze for PanelTitle<'a>
impl<'a> RefUnwindSafe for PanelTitle<'a>
impl<'a> Send for PanelTitle<'a>
impl<'a> Sync for PanelTitle<'a>
impl<'a> Unpin for PanelTitle<'a>
impl<'a> UnsafeUnpin for PanelTitle<'a>
impl<'a> UnwindSafe for PanelTitle<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<C> WithAlpha for Cwhere
C: Copy,
impl<C> WithAlpha for Cwhere
C: Copy,
§fn with_alpha_first<A>(self, alpha: A) -> AlphaFirst<A, Self>
fn with_alpha_first<A>(self, alpha: A) -> AlphaFirst<A, Self>
Wraps
self with alpha, storing alpha before the color in memory
(see [AlphaFirst]).§fn with_alpha_last<A>(self, alpha: A) -> AlphaLast<A, Self>
fn with_alpha_last<A>(self, alpha: A) -> AlphaLast<A, Self>
Wraps
self with alpha, storing alpha after the color in memory
(see [AlphaLast]).