Enum Pad

pub enum Pad

Padding characters for numeric items.

Variants

None

No padding.

Zero

Zero (0) padding.

Space

Space padding.

Trait Implementations

impl Clone for Pad

fn clone(&self) -> Self

impl Copy for Pad

impl Debug for Pad

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for Pad

impl Hash for Pad

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for Pad

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for Pad

Auto Trait Implementations

impl Freeze for Pad

impl RefUnwindSafe for Pad

impl Send for Pad

impl Sync for Pad

impl Unpin for Pad

impl UnsafeUnpin for Pad

impl UnwindSafe for Pad

Blanket Implementations

impl<T> Any for Pad where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for Pad where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for Pad where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for Pad where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for Pad

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for Pad where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for Pad where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for Pad where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for Pad where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>