UnitPad

Trait UnitPad 

Source
pub trait UnitPad<Value: Width, PadBlock: Display>: Unit + Pad<Value, PadBlock> { }
Expand description

All pre-defined zero-sized Pad types in this crate implement this trait.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<Value: Width, PadBlock: Display> UnitPad<Value, PadBlock> for AlignCenterLeft

Source§

impl<Value: Width, PadBlock: Display> UnitPad<Value, PadBlock> for AlignCenterRight

Source§

impl<Value: Width, PadBlock: Display> UnitPad<Value, PadBlock> for AlignLeft

Source§

impl<Value: Width, PadBlock: Display> UnitPad<Value, PadBlock> for AlignRight