Enum i_slint_core::items::LayoutAlignment
source · #[repr(C)]
pub enum LayoutAlignment {
Stretch,
Center,
Start,
End,
SpaceBetween,
SpaceAround,
}Expand description
Enum representing the alignment property of a BoxLayout or HorizontalLayout
Variants§
Trait Implementations§
source§impl Clone for LayoutAlignment
impl Clone for LayoutAlignment
source§fn clone(&self) -> LayoutAlignment
fn clone(&self) -> LayoutAlignment
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LayoutAlignment
impl Debug for LayoutAlignment
source§impl Default for LayoutAlignment
impl Default for LayoutAlignment
source§impl Display for LayoutAlignment
impl Display for LayoutAlignment
source§impl FromStr for LayoutAlignment
impl FromStr for LayoutAlignment
source§impl Hash for LayoutAlignment
impl Hash for LayoutAlignment
source§impl PartialEq<LayoutAlignment> for LayoutAlignment
impl PartialEq<LayoutAlignment> for LayoutAlignment
source§fn eq(&self, other: &LayoutAlignment) -> bool
fn eq(&self, other: &LayoutAlignment) -> bool
source§impl TryFrom<&str> for LayoutAlignment
impl TryFrom<&str> for LayoutAlignment
impl Copy for LayoutAlignment
impl Eq for LayoutAlignment
impl StructuralEq for LayoutAlignment
impl StructuralPartialEq for LayoutAlignment
Auto Trait Implementations§
impl RefUnwindSafe for LayoutAlignment
impl Send for LayoutAlignment
impl Sync for LayoutAlignment
impl Unpin for LayoutAlignment
impl UnwindSafe for LayoutAlignment
Blanket Implementations§
source§impl<T> IsDefault for Twhere
T: Default + PartialEq<T> + Copy,
impl<T> IsDefault for Twhere
T: Default + PartialEq<T> + Copy,
source§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.