pub enum AlignType {
AlignLeft,
AlignRight,
AlignCenter,
AlignTop,
AlignBottom,
}
Expand description
An enumeration of possible text and label alignments
Variants§
Trait Implementations§
source§impl Ord for AlignType
impl Ord for AlignType
source§impl PartialEq for AlignType
impl PartialEq for AlignType
source§impl PartialOrd for AlignType
impl PartialOrd for AlignType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for AlignType
impl Eq for AlignType
impl StructuralPartialEq for AlignType
Auto Trait Implementations§
impl Freeze for AlignType
impl RefUnwindSafe for AlignType
impl Send for AlignType
impl Sync for AlignType
impl Unpin for AlignType
impl UnwindSafe for AlignType
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