pub enum StyleAlign {
Default,
Left,
Centre,
Right,
AbsoluteCentre,
}Expand description
Horizontal alignment directive from tmux style_align.
Variants§
Default
No explicit alignment override.
Left
Left aligned.
Centre
Centred.
Right
Right aligned.
AbsoluteCentre
Absolutely centred.
Trait Implementations§
Source§impl Clone for StyleAlign
impl Clone for StyleAlign
Source§fn clone(&self) -> StyleAlign
fn clone(&self) -> StyleAlign
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 moreimpl Copy for StyleAlign
Source§impl Debug for StyleAlign
impl Debug for StyleAlign
Source§impl Default for StyleAlign
impl Default for StyleAlign
Source§fn default() -> StyleAlign
fn default() -> StyleAlign
Returns the “default value” for a type. Read more
impl Eq for StyleAlign
Source§impl PartialEq for StyleAlign
impl PartialEq for StyleAlign
Source§fn eq(&self, other: &StyleAlign) -> bool
fn eq(&self, other: &StyleAlign) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StyleAlign
Auto Trait Implementations§
impl Freeze for StyleAlign
impl RefUnwindSafe for StyleAlign
impl Send for StyleAlign
impl Sync for StyleAlign
impl Unpin for StyleAlign
impl UnsafeUnpin for StyleAlign
impl UnwindSafe for StyleAlign
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