pub enum Align {
Unaligned,
Left,
Center,
Right,
}Expand description
Alignment within a Plane or terminal.
Variants§
Unaligned
Anyhing unaligned wont be rendered.
Left
Left (== Top) alignment.
This is the default alignment.
Center
Center alignment.
Right
Right (== Bottom) alignment.
Implementations§
Trait Implementations§
Source§impl From<Align> for NcAlign_u32
impl From<Align> for NcAlign_u32
Source§fn from(align: Align) -> NcAlign_u32
fn from(align: Align) -> NcAlign_u32
Converts to this type from the input type.
Source§impl From<u32> for Align
impl From<u32> for Align
Source§fn from(ncu: NcAlign_u32) -> Align
fn from(ncu: NcAlign_u32) -> Align
Converts to this type from the input type.
impl Copy for Align
impl Eq for Align
impl StructuralPartialEq for Align
Auto Trait Implementations§
impl Freeze for Align
impl RefUnwindSafe for Align
impl Send for Align
impl Sync for Align
impl Unpin for Align
impl UnwindSafe for Align
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