#[non_exhaustive]pub enum TextVAlign {
Top,
Center,
Bottom,
Baseline,
}Expand description
Vertical placement of the text block inside its content box.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future 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 (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 TextVAlign
Source§impl Debug for TextVAlign
impl Debug for TextVAlign
Source§impl Default for TextVAlign
impl Default for TextVAlign
Source§fn default() -> TextVAlign
fn default() -> TextVAlign
Returns the “default value” for a type. Read more
impl Eq for TextVAlign
Source§impl Hash for TextVAlign
impl Hash for TextVAlign
Source§impl PartialEq for TextVAlign
impl PartialEq 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 UnsafeUnpin 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