Enum panoramix::flex::MainAxisAlignment [−][src]
Arrangement of children on the main axis.
If there is surplus space on the main axis after laying out children, this enum represents how children are laid out in this space.
Variants
Top or leading.
Children are aligned with the top or leading edge, without padding.
Children are centered, without padding.
Bottom or trailing.
Children are aligned with the bottom or trailing edge, without padding.
Extra space is divided evenly between each child.
Extra space is divided evenly between each child, as well as at the ends.
Space between each child, with less at the start and end.
This divides space such that each child is separated by n
units,
and the start and end have n/2
units of padding.
Trait Implementations
impl Clone for MainAxisAlignment
[src]
fn clone(&self) -> MainAxisAlignment
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for MainAxisAlignment
[src]
impl Debug for MainAxisAlignment
[src]
impl Eq for MainAxisAlignment
[src]
impl Hash for MainAxisAlignment
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<MainAxisAlignment> for MainAxisAlignment
[src]
fn eq(&self, other: &MainAxisAlignment) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for MainAxisAlignment
[src]
impl StructuralPartialEq for MainAxisAlignment
[src]
Auto Trait Implementations
impl RefUnwindSafe for MainAxisAlignment
impl Send for MainAxisAlignment
impl Sync for MainAxisAlignment
impl Unpin for MainAxisAlignment
impl UnwindSafe for MainAxisAlignment
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AnyEq for T where
T: Any + PartialEq<T>,
T: Any + PartialEq<T>,
pub fn equals(&self, other: &(dyn Any + 'static)) -> bool
pub fn as_any(&self) -> &(dyn Any + 'static)
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> RoundFrom<T> for T
pub fn round_from(x: T) -> T
impl<T, U> RoundInto<U> for T where
U: RoundFrom<T>,
U: RoundFrom<T>,
pub fn round_into(self) -> U
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,