Enum i_slint_core::items::LayoutAlignment
source · [−]#[repr(C)]
pub enum LayoutAlignment {
stretch,
center,
start,
end,
space_between,
space_around,
}
Expand description
Enum representing the alignment property of a BoxLayout or HorizontalLayout
Variants
stretch
center
start
end
space_between
space_around
Trait Implementations
sourceimpl Clone for LayoutAlignment
impl Clone for LayoutAlignment
sourcefn clone(&self) -> LayoutAlignment
fn clone(&self) -> LayoutAlignment
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LayoutAlignment
impl Debug for LayoutAlignment
sourceimpl Default for LayoutAlignment
impl Default for LayoutAlignment
sourceimpl Display for LayoutAlignment
impl Display for LayoutAlignment
sourceimpl FromStr for LayoutAlignment
impl FromStr for LayoutAlignment
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl Hash for LayoutAlignment
impl Hash for LayoutAlignment
sourceimpl PartialEq<LayoutAlignment> for LayoutAlignment
impl PartialEq<LayoutAlignment> for LayoutAlignment
sourceimpl TryFrom<&str> for LayoutAlignment
impl TryFrom<&str> for LayoutAlignment
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more