pub enum TextHorizontalAlignment {
Left,
Right,
Center,
}
Expand description
Enum for specifying text horizontal alignment.
Variants§
Left
Align the left edge of the text to the left edge of the facet.
Right
Align the right edge of the text to the right edge of the facet.
Center
Align the horizontal center of the text to the horizontal center of the facet.
Trait Implementations§
Source§impl Clone for TextHorizontalAlignment
impl Clone for TextHorizontalAlignment
Source§fn clone(&self) -> TextHorizontalAlignment
fn clone(&self) -> TextHorizontalAlignment
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 moreSource§impl Default for TextHorizontalAlignment
impl Default for TextHorizontalAlignment
impl Copy for TextHorizontalAlignment
Auto Trait Implementations§
impl Freeze for TextHorizontalAlignment
impl RefUnwindSafe for TextHorizontalAlignment
impl Send for TextHorizontalAlignment
impl Sync for TextHorizontalAlignment
impl Unpin for TextHorizontalAlignment
impl UnwindSafe for TextHorizontalAlignment
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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)