pub enum VerticalTextAlign {
Top,
Middle,
Baseline,
Bottom,
}Expand description
The text is aligned so that the target position is at the given side of the text.
For example, "top" aligned text means the top of the text is at the target position. Or in other words, the target is at the top of the text.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for VerticalTextAlign
impl Clone for VerticalTextAlign
Source§fn clone(&self) -> VerticalTextAlign
fn clone(&self) -> VerticalTextAlign
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VerticalTextAlign
Source§impl Debug for VerticalTextAlign
impl Debug for VerticalTextAlign
Source§impl Default for VerticalTextAlign
impl Default for VerticalTextAlign
impl Eq for VerticalTextAlign
Source§impl From<VerticalTextAlign> for LuaAny
impl From<VerticalTextAlign> for LuaAny
Source§fn from(_: VerticalTextAlign) -> Self
fn from(_: VerticalTextAlign) -> Self
Converts to this type from the input type.
Source§impl From<VerticalTextAlign> for &'static str
impl From<VerticalTextAlign> for &'static str
Source§fn from(value: VerticalTextAlign) -> Self
fn from(value: VerticalTextAlign) -> Self
Converts to this type from the input type.
Source§impl Hash for VerticalTextAlign
impl Hash for VerticalTextAlign
Source§impl PartialEq for VerticalTextAlign
impl PartialEq for VerticalTextAlign
Source§impl PartialEq<&str> for VerticalTextAlign
impl PartialEq<&str> for VerticalTextAlign
Source§impl PartialEq<VerticalTextAlign> for &str
impl PartialEq<VerticalTextAlign> for &str
impl StructuralPartialEq for VerticalTextAlign
Auto Trait Implementations§
impl Freeze for VerticalTextAlign
impl RefUnwindSafe for VerticalTextAlign
impl Send for VerticalTextAlign
impl Sync for VerticalTextAlign
impl Unpin for VerticalTextAlign
impl UnsafeUnpin for VerticalTextAlign
impl UnwindSafe for VerticalTextAlign
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