pub enum CrossAlign {
Leading,
Center,
Trailing,
FirstBaseline,
}Variants§
Leading
Center
Trailing
FirstBaseline
Align children on their first text baseline rather than on their boxes (docs/baseline.md). Horizontal rows only: a column’s children are stacked along the axis a baseline lives on, so there is nothing to align. A child whose toolkit reports no baseline is centered, so a row of text and an image still looks right.
Trait Implementations§
Source§impl Clone for CrossAlign
impl Clone for CrossAlign
Source§fn clone(&self) -> CrossAlign
fn clone(&self) -> CrossAlign
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 CrossAlign
Source§impl Debug for CrossAlign
impl Debug for CrossAlign
Source§impl Default for CrossAlign
impl Default for CrossAlign
Source§fn default() -> CrossAlign
fn default() -> CrossAlign
Returns the “default value” for a type. Read more
impl Eq for CrossAlign
Source§impl PartialEq for CrossAlign
impl PartialEq for CrossAlign
impl StructuralPartialEq for CrossAlign
Auto Trait Implementations§
impl Freeze for CrossAlign
impl RefUnwindSafe for CrossAlign
impl Send for CrossAlign
impl Sync for CrossAlign
impl Unpin for CrossAlign
impl UnsafeUnpin for CrossAlign
impl UnwindSafe for CrossAlign
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more