Struct nu_ansi_term::ansi::Suffix
source · pub struct Suffix(/* private fields */);
Expand description
Like AnsiString
, but only displays the style suffix.
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::suffix
.
Trait Implementations§
impl Copy for Suffix
Auto Trait Implementations§
impl RefUnwindSafe for Suffix
impl Send for Suffix
impl Sync for Suffix
impl Unpin for Suffix
impl UnwindSafe for Suffix
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