Enum Text Alignment
pub enum TextAlignment {
Left,
Center,
Right,
}Expand description
Physical horizontal alignment; independent of paragraph writing direction.
Variants§
Trait Implementations§
§impl Clone for TextAlignment
impl Clone for TextAlignment
§fn clone(&self) -> TextAlignment
fn clone(&self) -> TextAlignment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TextAlignment
§impl Debug for TextAlignment
impl Debug for TextAlignment
impl Eq for TextAlignment
§impl PartialEq for TextAlignment
impl PartialEq for TextAlignment
impl StructuralPartialEq for TextAlignment
Auto Trait Implementations§
impl Freeze for TextAlignment
impl RefUnwindSafe for TextAlignment
impl Send for TextAlignment
impl Sync for TextAlignment
impl Unpin for TextAlignment
impl UnsafeUnpin for TextAlignment
impl UnwindSafe for TextAlignment
Blanket Implementations§
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more