#[non_exhaustive]pub enum LabelAlign {
Left,
Center,
Right,
}Expand description
How a label sits in its box.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for LabelAlign
impl Clone for LabelAlign
Source§fn clone(&self) -> LabelAlign
fn clone(&self) -> LabelAlign
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LabelAlign
Source§impl Debug for LabelAlign
impl Debug for LabelAlign
Source§impl Default for LabelAlign
impl Default for LabelAlign
Source§fn default() -> LabelAlign
fn default() -> LabelAlign
Returns the “default value” for a type. Read more
impl Eq for LabelAlign
Source§impl PartialEq for LabelAlign
impl PartialEq for LabelAlign
impl StructuralPartialEq for LabelAlign
Auto Trait Implementations§
impl Freeze for LabelAlign
impl RefUnwindSafe for LabelAlign
impl Send for LabelAlign
impl Sync for LabelAlign
impl Unpin for LabelAlign
impl UnsafeUnpin for LabelAlign
impl UnwindSafe for LabelAlign
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