pub enum TextHalign {
left,
center,
right,
}Expand description
The ways for horizontal alignment of text.
Variants§
Trait Implementations§
Source§impl Clone for TextHalign
impl Clone for TextHalign
Source§fn clone(&self) -> TextHalign
fn clone(&self) -> TextHalign
Returns a duplicate 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 Debug for TextHalign
impl Debug for TextHalign
Source§impl PartialEq for TextHalign
impl PartialEq for TextHalign
impl Copy for TextHalign
impl StructuralPartialEq for TextHalign
Auto Trait Implementations§
impl Freeze for TextHalign
impl RefUnwindSafe for TextHalign
impl Send for TextHalign
impl Sync for TextHalign
impl Unpin for TextHalign
impl UnwindSafe for TextHalign
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