pub enum Alignment {
Top,
Middle,
Bottom,
}
Expand description
The vertical alignment of a title.
Titles are always centered horizontally.
Variants§
Top
The title should appear at the top of the key.
Middle
The title should appear in the middle of the key.
Bottom
The title should appear at the bottom of the key.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Alignment
impl<'de> Deserialize<'de> for Alignment
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
Auto Trait Implementations§
impl Freeze for Alignment
impl RefUnwindSafe for Alignment
impl Send for Alignment
impl Sync for Alignment
impl Unpin for Alignment
impl UnwindSafe for Alignment
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