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]

impl<Value, PadBlock, Pad> Width for FmtIter<PaddedColumnIter<Value, PadBlock, Pad>> where
    Value: Width + Clone,
    PadBlock: Display + Copy,
    Pad: Pad<Value, PadBlock> + Copy
[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]

impl<Value, PadBlock, HandleExcess, Pad> Width for PaddedValue<Value, PadBlock, HandleExcess, Pad> where
    Value: Width,
    PadBlock: Display,
    HandleExcess: ExcessHandler<Value, PadBlock>,
    Pad: Pad<Value, PadBlock>, 
[src]

Loading content...