Trait display_utils::DisplayExt[][src]

pub trait DisplayExt: Display where
    Self: Sized
{ fn collect_str(self, buf: &mut [u8]) -> Result<&str, &str> { ... }
fn collect_str_mut(self, buf: &mut [u8]) -> Result<&mut str, &mut str> { ... }
fn display_lowercase(self) -> Lowercase<Self> { ... }
fn display_uppercase(self) -> Uppercase<Self> { ... }
fn display_repeat(self, times: usize) -> Repeat<Self> { ... }
fn extract_slice<R: RangeBounds<usize>>(
        self,
        range: R
    ) -> DisplaySlice<Self> { ... }
fn display_cmp(self, other: &str) -> Ordering { ... } }

Extension trait providing convenient access to the base functions in the crate root.

Provided methods

fn collect_str(self, buf: &mut [u8]) -> Result<&str, &str>[src]

fn collect_str_mut(self, buf: &mut [u8]) -> Result<&mut str, &mut str>[src]

fn display_lowercase(self) -> Lowercase<Self>[src]

Alias for crate::lowercase

fn display_uppercase(self) -> Uppercase<Self>[src]

Alias for crate::uppercase

fn display_repeat(self, times: usize) -> Repeat<Self>[src]

Alias for crate::repeat

fn extract_slice<R: RangeBounds<usize>>(self, range: R) -> DisplaySlice<Self>[src]

Alias for crate::slice

fn display_cmp(self, other: &str) -> Ordering[src]

Alias for crate::cmp

Loading content...

Implementors

impl<T: Display> DisplayExt for T[src]

Loading content...