Struct nu_ansi_term::ansi::Infix
source · pub struct Infix(/* private fields */);
Expand description
Like AnsiString
, but only displays the difference between two
styles.
This type implements the Display
trait, meaning it can be written to a
std::fmt
formatting without doing any extra allocation, and written to a
string with the .to_string()
method. For examples, see
Style::infix
.
Trait Implementations§
impl Copy for Infix
Auto Trait Implementations§
impl Freeze for Infix
impl RefUnwindSafe for Infix
impl Send for Infix
impl Sync for Infix
impl Unpin for Infix
impl UnwindSafe for Infix
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