pub enum BaselineAlignment {
Top,
Center,
Bottom,
Baseline,
TextTop,
TextBottom,
Subscript,
Superscript,
}Expand description
Enum specifying where a box should be positioned vertically.
Variants§
Top
Align top toward the top of the container.
Center
Center vertically.
Bottom
Align bottom toward the bottom of the container.
Baseline
Align at the baseline.
TextTop
Align toward the text’s top of the container.
TextBottom
Align toward the text’s bottom of the container.
Subscript
Align the baseline to the subscript position of the container.
Superscript
Align the baseline to the superscript position of the container.
Trait Implementations§
Source§impl Clone for BaselineAlignment
impl Clone for BaselineAlignment
impl Copy for BaselineAlignment
Source§impl Debug for BaselineAlignment
impl Debug for BaselineAlignment
Source§impl Default for BaselineAlignment
impl Default for BaselineAlignment
impl Eq for BaselineAlignment
Source§impl Hash for BaselineAlignment
impl Hash for BaselineAlignment
Source§impl MarkupTyped for BaselineAlignment
impl MarkupTyped for BaselineAlignment
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for BaselineAlignment
impl PartialEq for BaselineAlignment
impl StructuralPartialEq for BaselineAlignment
Auto Trait Implementations§
impl Freeze for BaselineAlignment
impl RefUnwindSafe for BaselineAlignment
impl Send for BaselineAlignment
impl Sync for BaselineAlignment
impl Unpin for BaselineAlignment
impl UnsafeUnpin for BaselineAlignment
impl UnwindSafe for BaselineAlignment
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more