pub enum TextValign {
top,
center,
baseline,
bottom,
}Expand description
The ways for vertical alignment of text.
Variants§
Trait Implementations§
Source§impl Clone for TextValign
impl Clone for TextValign
Source§fn clone(&self) -> TextValign
fn clone(&self) -> TextValign
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 TextValign
impl Debug for TextValign
Source§impl PartialEq for TextValign
impl PartialEq for TextValign
impl Copy for TextValign
impl StructuralPartialEq for TextValign
Auto Trait Implementations§
impl Freeze for TextValign
impl RefUnwindSafe for TextValign
impl Send for TextValign
impl Sync for TextValign
impl Unpin for TextValign
impl UnwindSafe for TextValign
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