Searched refs:Styles (Results 1 - 5 of 5) sorted by relevance
/third_party/rust/crates/codespan/codespan-reporting/src/term/ |
H A D | config.rs | 16 /// Styles to use when rendering the diagnostic. 17 pub styles: Styles, 35 styles: Styles::default(), in default() 81 /// Styles to use when rendering the diagnostic. 83 pub struct Styles { structure names 133 impl Styles { impls 158 pub fn with_blue(blue: Color) -> Styles { in with_blue() 161 Styles { in with_blue() 183 impl Default for Styles { 184 fn default() -> Styles { in default() [all...] |
H A D | renderer.rs | 7 use crate::term::{Chars, Config, Styles}; 129 fn styles(&self) -> &'config Styles { in chars()
|
/third_party/rust/crates/codespan/codespan-reporting/src/ |
H A D | term.rs | 15 pub use self::config::{Chars, Config, DisplayStyle, Styles};
|
/third_party/rust/crates/codespan/codespan-reporting/tests/ |
H A D | term.rs | 3 use codespan_reporting::term::{termcolor::Color, Config, DisplayStyle, Styles}; 12 styles: Styles::with_blue(Color::Blue), 960 styles: Styles::with_blue(Color::Blue),
|
/third_party/rust/crates/codespan/codespan-reporting/examples/ |
H A D | readme_preview.rs | 85 styles: codespan_reporting::term::Styles::with_blue(Color::Blue), in main()
|
Completed in 8 milliseconds