Struct zero_copy_pads::AlignLeft [−][src]
pub struct AlignLeft;
Pad to the right, content to the left.
Example:
use zero_copy_pads::{AlignLeft, PaddedValue, PanicOnExcess}; let padded_value = PaddedValue { pad: AlignLeft, value: "abcdef", pad_block: '-', total_width: 9, handle_excess: PanicOnExcess, }; assert_eq!(padded_value.to_string(), "abcdef---");
Trait Implementations
impl StructuralEq for AlignLeft
[src]
impl StructuralEq for AlignLeft
[src]impl StructuralPartialEq for AlignLeft
[src]
impl StructuralPartialEq for AlignLeft
[src]Auto Trait Implementations
impl RefUnwindSafe for AlignLeft
impl RefUnwindSafe for AlignLeft
impl UnwindSafe for AlignLeft
impl UnwindSafe for AlignLeft