Enum text_grid::HorizontalAlignment
source · pub enum HorizontalAlignment {
Left,
Center,
Right,
}
Expand description
Horizontal alignments for cell’s content.
Variants§
Trait Implementations§
source§impl Clone for HorizontalAlignment
impl Clone for HorizontalAlignment
source§fn clone(&self) -> HorizontalAlignment
fn clone(&self) -> HorizontalAlignment
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for HorizontalAlignment
Auto Trait Implementations§
impl RefUnwindSafe for HorizontalAlignment
impl Send for HorizontalAlignment
impl Sync for HorizontalAlignment
impl Unpin for HorizontalAlignment
impl UnwindSafe for HorizontalAlignment
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