[][src]Struct core_extensions::strings::LeftPadder

pub struct LeftPadder<'a> { /* fields omitted */ }

Add padding padding to string in the Display impl.

Methods

impl<'a> LeftPadder<'a>[src]

pub fn new(string: &'a str, padding: usize) -> Self[src]

Constructs a LeftPadder

Trait Implementations

impl<'a> Debug for LeftPadder<'a>[src]

impl<'a> Display for LeftPadder<'a>[src]

impl<'a> Copy for LeftPadder<'a>[src]

impl<'a> Clone for LeftPadder<'a>[src]

Auto Trait Implementations

impl<'a> Unpin for LeftPadder<'a>

impl<'a> Send for LeftPadder<'a>

impl<'a> Sync for LeftPadder<'a>

impl<'a> UnwindSafe for LeftPadder<'a>

impl<'a> RefUnwindSafe for LeftPadder<'a>

Blanket Implementations

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The error type returned when the conversion fails.

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]