pub enum PadSide {
Left,
Right,
Both,
}Expand description
Side for string padding operations.
Variants§
Trait Implementations§
impl Copy for PadSide
impl Eq for PadSide
impl StructuralPartialEq for PadSide
Auto Trait Implementations§
impl Freeze for PadSide
impl RefUnwindSafe for PadSide
impl Send for PadSide
impl Sync for PadSide
impl Unpin for PadSide
impl UnsafeUnpin for PadSide
impl UnwindSafe for PadSide
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more