Trait zero_copy_pads::Width[][src]

pub trait Width: Display {
    fn width(&self) -> usize;
}

Value that has width.

Required methods

fn width(&self) -> usize[src]

Get width of the value.

Loading content...

Implementations on Foreign Types

impl Width for str[src]

impl Width for &str[src]

impl Width for String[src]

impl<X: Width + Sized> Width for &X[src]

Loading content...

Implementors

impl<Inner: AsRef<str>> Width for CharCount<Inner>[src]

impl<Inner: AsRef<str>> Width for Len<Inner>[src]

impl<Inner: AsRef<str>> Width for UnicodeWidth<Inner>[src]

impl<Inner: AsRef<str>> Width for UnicodeWidthCjk<Inner>[src]

Loading content...