pub enum TextVerticalAlignment {
Top,
Bottom,
Center,
}
Expand description
Enum for specifying text horizontal alignment.
Variants§
Top
Align the top edge of the text to the top edge of the facet.
Bottom
Align the bottom edge of the text to the bottom edge of the facet.
Center
Align the vertical center of the text to the vertical center of the facet.
Trait Implementations§
Source§impl Clone for TextVerticalAlignment
impl Clone for TextVerticalAlignment
Source§fn clone(&self) -> TextVerticalAlignment
fn clone(&self) -> TextVerticalAlignment
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 TextVerticalAlignment
impl Default for TextVerticalAlignment
impl Copy for TextVerticalAlignment
Auto Trait Implementations§
impl Freeze for TextVerticalAlignment
impl RefUnwindSafe for TextVerticalAlignment
impl Send for TextVerticalAlignment
impl Sync for TextVerticalAlignment
impl Unpin for TextVerticalAlignment
impl UnwindSafe for TextVerticalAlignment
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
)