pub enum Alignment {
LowerBound,
Center,
HigherBound,
}Expand description
Generic over the concept of vertical/horizontal Lower/Higher are relative terms in relation to the screen coordinates
Variants§
Trait Implementations§
impl Copy for Alignment
Source§impl From<Alignment> for HorizontalAlignment
impl From<Alignment> for HorizontalAlignment
Source§impl From<Alignment> for VerticalAlignment
impl From<Alignment> for VerticalAlignment
Source§impl From<HorizontalAlignment> for Alignment
impl From<HorizontalAlignment> for Alignment
Source§fn from(value: HorizontalAlignment) -> Self
fn from(value: HorizontalAlignment) -> Self
Converts to this type from the input type.
Source§impl From<VerticalAlignment> for Alignment
impl From<VerticalAlignment> for Alignment
Source§fn from(value: VerticalAlignment) -> Self
fn from(value: VerticalAlignment) -> Self
Converts to this type from the input type.
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