Enum Alignment
enum Alignment
Possible alignments returned by Formatter::align
Variants
-
Left Indication that contents should be left-aligned.
-
Right Indication that contents should be right-aligned.
-
Center Indication that contents should be center-aligned.
Implementations
impl Clone for Alignment
fn clone(self: &Self) -> Alignment
impl Copy for Alignment
impl Debug for Alignment
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Eq for Alignment
impl Freeze for Alignment
impl PartialEq for Alignment
fn eq(self: &Self, other: &Alignment) -> bool
impl RefUnwindSafe for Alignment
impl Send for Alignment
impl StructuralPartialEq for Alignment
impl Sync for Alignment
impl Unpin for Alignment
impl UnwindSafe for Alignment
impl<T> Any for Alignment
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Alignment
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Alignment
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for Alignment
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for Alignment
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for Alignment
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Alignment
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Alignment
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>