pub enum Alignment {
TopLeft,
MiddleLeft,
Left,
BottomLeft,
TopCenter,
MiddleCenter,
Center,
BottomCenter,
TopRight,
MiddleRight,
Right,
BottomRight,
}Expand description
A string that specifies where a GUI element should be.
Variants§
TopLeft
MiddleLeft
Left
BottomLeft
TopCenter
MiddleCenter
Center
BottomCenter
TopRight
MiddleRight
Right
BottomRight
Implementations§
Trait Implementations§
impl Copy for Alignment
impl Eq for Alignment
impl StructuralPartialEq for Alignment
Auto Trait Implementations§
impl Freeze for Alignment
impl RefUnwindSafe for Alignment
impl Send for Alignment
impl Sync for Alignment
impl Unpin for Alignment
impl UnsafeUnpin 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