pub enum ComponentAlignment {
Start,
Center,
End,
Stretch,
}Expand description
Component alignment options within its allocated space
Variants§
Start
Align to the left/top of the space
Center
Center within the space
End
Align to the right/bottom of the space
Stretch
Stretch to fill the entire space
Trait Implementations§
Source§impl Clone for ComponentAlignment
impl Clone for ComponentAlignment
Source§fn clone(&self) -> ComponentAlignment
fn clone(&self) -> ComponentAlignment
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 ComponentAlignment
Source§impl Debug for ComponentAlignment
impl Debug for ComponentAlignment
Source§impl Default for ComponentAlignment
impl Default for ComponentAlignment
impl Eq for ComponentAlignment
Source§impl PartialEq for ComponentAlignment
impl PartialEq for ComponentAlignment
impl StructuralPartialEq for ComponentAlignment
Auto Trait Implementations§
impl Freeze for ComponentAlignment
impl RefUnwindSafe for ComponentAlignment
impl Send for ComponentAlignment
impl Sync for ComponentAlignment
impl Unpin for ComponentAlignment
impl UnsafeUnpin for ComponentAlignment
impl UnwindSafe for ComponentAlignment
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