pub enum TitlePosition {
Top,
Bottom,
}Expand description
Which border edge a PanelTitle is drawn into.
Variants§
Top
The top border row, the same edge Panel::title’s sugar title is drawn into.
Bottom
The bottom border row.
Trait Implementations§
Source§impl Clone for TitlePosition
impl Clone for TitlePosition
Source§fn clone(&self) -> TitlePosition
fn clone(&self) -> TitlePosition
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 Debug for TitlePosition
impl Debug for TitlePosition
Source§impl Default for TitlePosition
impl Default for TitlePosition
Source§fn default() -> TitlePosition
fn default() -> TitlePosition
Returns the “default value” for a type. Read more
Source§impl Hash for TitlePosition
impl Hash for TitlePosition
Source§impl PartialEq for TitlePosition
impl PartialEq for TitlePosition
Source§fn eq(&self, other: &TitlePosition) -> bool
fn eq(&self, other: &TitlePosition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TitlePosition
impl Eq for TitlePosition
impl StructuralPartialEq for TitlePosition
Auto Trait Implementations§
impl Freeze for TitlePosition
impl RefUnwindSafe for TitlePosition
impl Send for TitlePosition
impl Sync for TitlePosition
impl Unpin for TitlePosition
impl UnsafeUnpin for TitlePosition
impl UnwindSafe for TitlePosition
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]).