Struct workflow_rs::log::prelude::ColorHexView
source · pub struct ColorHexView<'a> {
pub builder: HexViewBuilder<'a>,
pub color_start: usize,
}
Fields§
§builder: HexViewBuilder<'a>
§color_start: usize
Implementations§
source§impl<'a> ColorHexView<'a>
impl<'a> ColorHexView<'a>
pub fn new( builder: HexViewBuilder<'a>, colors: Vec<(&'a str, usize)> ) -> ColorHexView<'a>
pub fn add_colors(self, colors: Vec<(&'a str, usize)>) -> ColorHexView<'a>
pub fn add_colors_with_range( self, colors: Vec<(&'a str, Range<usize>)> ) -> ColorHexView<'a>
pub fn try_print(self) -> Result<(), String>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ColorHexView<'a>
impl<'a> Send for ColorHexView<'a>
impl<'a> Sync for ColorHexView<'a>
impl<'a> Unpin for ColorHexView<'a>
impl<'a> UnwindSafe for ColorHexView<'a>
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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