Struct coloursum::ANSIColouredLine
source · pub struct ANSIColouredLine(_);
Expand description
Line with naïve ANSI Colour code formatting.
Trait Implementations§
source§impl Debug for ANSIColouredLine
impl Debug for ANSIColouredLine
source§impl Display for ANSIColouredLine
impl Display for ANSIColouredLine
source§impl From<String> for ANSIColouredLine
impl From<String> for ANSIColouredLine
source§impl Line for ANSIColouredLine
impl Line for ANSIColouredLine
source§fn format_hash(hash: String) -> String
fn format_hash(hash: String) -> String
Formats a base16-format hash or digest.
Each 8-bit hexadecimal digit will be coloured with the corresponding xterm colour.
source§fn get_line(&self) -> &FormattableLine
fn get_line(&self) -> &FormattableLine
Retrieves the underlying
FormattableLine
object.Auto Trait Implementations§
impl RefUnwindSafe for ANSIColouredLine
impl Send for ANSIColouredLine
impl Sync for ANSIColouredLine
impl Unpin for ANSIColouredLine
impl UnwindSafe for ANSIColouredLine
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