pub enum BaseAxis {
Horizontal,
Vertical,
}Expand description
Which axis table a baseline is read from.
This is the direction the text runs in, not the direction of the baseline itself: horizontal text takes its baselines from the horizontal axis.
Variants§
Horizontal
Text that runs left to right or right to left.
Vertical
Text that runs top to bottom or bottom to top.
Trait Implementations§
impl Copy for BaseAxis
impl Eq for BaseAxis
impl StructuralPartialEq for BaseAxis
Auto Trait Implementations§
impl Freeze for BaseAxis
impl RefUnwindSafe for BaseAxis
impl Send for BaseAxis
impl Sync for BaseAxis
impl Unpin for BaseAxis
impl UnsafeUnpin for BaseAxis
impl UnwindSafe for BaseAxis
Blanket Implementations§
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