pub enum VAlign {
Baseline,
Middle,
Top,
Bottom,
}Expand description
Vertical text alignment.
Variants§
Baseline
Anchor on the first line’s baseline.
Middle
Anchor at the vertical middle of the block.
Top
Anchor at the top of the block.
Bottom
Anchor at the bottom of the block.
Trait Implementations§
impl Copy for VAlign
Source§impl<'de> Deserialize<'de> for VAlign
impl<'de> Deserialize<'de> for VAlign
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for VAlign
impl StructuralPartialEq for VAlign
Auto Trait Implementations§
impl Freeze for VAlign
impl RefUnwindSafe for VAlign
impl Send for VAlign
impl Sync for VAlign
impl Unpin for VAlign
impl UnsafeUnpin for VAlign
impl UnwindSafe for VAlign
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