pub enum VerticalAlignment {
Top,
Middle,
Bottom,
}Expand description
Vertical alignment method.
Variants§
Top
Align content to the top (default).
Middle
Center content vertically.
Bottom
Align content to the bottom.
Trait Implementations§
Source§impl Clone for VerticalAlignment
impl Clone for VerticalAlignment
impl Copy for VerticalAlignment
Source§impl Debug for VerticalAlignment
impl Debug for VerticalAlignment
Source§impl Default for VerticalAlignment
impl Default for VerticalAlignment
impl Eq for VerticalAlignment
Source§impl PartialEq for VerticalAlignment
impl PartialEq for VerticalAlignment
impl StructuralPartialEq for VerticalAlignment
Auto Trait Implementations§
impl Forget for VerticalAlignment
impl Freeze for VerticalAlignment
impl Move for VerticalAlignment
impl RefUnwindSafe for VerticalAlignment
impl Send for VerticalAlignment
impl Sync for VerticalAlignment
impl Unpin for VerticalAlignment
impl UnsafeUnpin for VerticalAlignment
impl UnwindSafe for VerticalAlignment
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