| 1 | #![allow(missing_docs)] |
| 2 | #![allow(unused_qualifications)] // for copy/paste sake |
| 3 | #![allow(unreachable_pub)] // for copy/paste sake |
| 4 | |
| 5 | use anstylerust-analyzer cargo anstyle 1.0.13 crate/::AnsiColorrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#; |
| 6 | use anstylerust-analyzer cargo anstyle 1.0.13 crate/::Effectsrust-analyzer cargo anstyle 1.0.13 effect/Effects#; |
| 7 | use anstylerust-analyzer cargo anstyle 1.0.13 crate/::Stylerust-analyzer cargo anstyle 1.0.13 style/Style#; |
| 8 | |
| 9 | pub const NOPrust-analyzer cargo clap-cargo 0.18.3 style/NOP.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = Stylerust-analyzer cargo anstyle 1.0.13 style/Style#::newrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]new().(); |
| 10 | pub const HEADERrust-analyzer cargo clap-cargo 0.18.3 style/HEADER.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = AnsiColorrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#::BrightGreenrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#BrightGreen#.on_defaultrust-analyzer cargo anstyle 1.0.13 color/impl#[AnsiColor]on_default().().effectsrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]effects().(Effectsrust-analyzer cargo anstyle 1.0.13 effect/Effects#::BOLDrust-analyzer cargo anstyle 1.0.13 effect/impl#[Effects]BOLD.); |
| 11 | pub const USAGErust-analyzer cargo clap-cargo 0.18.3 style/USAGE.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = AnsiColorrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#::BrightGreenrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#BrightGreen#.on_defaultrust-analyzer cargo anstyle 1.0.13 color/impl#[AnsiColor]on_default().().effectsrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]effects().(Effectsrust-analyzer cargo anstyle 1.0.13 effect/Effects#::BOLDrust-analyzer cargo anstyle 1.0.13 effect/impl#[Effects]BOLD.); |
| 12 | pub const LITERALrust-analyzer cargo clap-cargo 0.18.3 style/LITERAL.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = AnsiColorrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#::BrightCyanrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#BrightCyan#.on_defaultrust-analyzer cargo anstyle 1.0.13 color/impl#[AnsiColor]on_default().().effectsrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]effects().(Effectsrust-analyzer cargo anstyle 1.0.13 effect/Effects#::BOLDrust-analyzer cargo anstyle 1.0.13 effect/impl#[Effects]BOLD.); |
| 13 | pub const PLACEHOLDERrust-analyzer cargo clap-cargo 0.18.3 style/PLACEHOLDER.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = AnsiColorrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#::Cyanrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#Cyan#.on_defaultrust-analyzer cargo anstyle 1.0.13 color/impl#[AnsiColor]on_default().(); |
| 14 | pub const ERRORrust-analyzer cargo clap-cargo 0.18.3 style/ERROR.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = annotate_snippetsrust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/::rendererrust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/::DEFAULT_ERROR_STYLErust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/DEFAULT_ERROR_STYLE.; |
| 15 | pub const WARNrust-analyzer cargo clap-cargo 0.18.3 style/WARN.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = annotate_snippetsrust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/::rendererrust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/::DEFAULT_WARNING_STYLErust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/DEFAULT_WARNING_STYLE.; |
| 16 | pub const NOTErust-analyzer cargo clap-cargo 0.18.3 style/NOTE.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = annotate_snippetsrust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/::rendererrust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/::DEFAULT_NOTE_STYLErust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/DEFAULT_NOTE_STYLE.; |
| 17 | pub const GOODrust-analyzer cargo clap-cargo 0.18.3 style/GOOD.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = AnsiColorrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#::BrightGreenrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#BrightGreen#.on_defaultrust-analyzer cargo anstyle 1.0.13 color/impl#[AnsiColor]on_default().().effectsrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]effects().(Effectsrust-analyzer cargo anstyle 1.0.13 effect/Effects#::BOLDrust-analyzer cargo anstyle 1.0.13 effect/impl#[Effects]BOLD.); |
| 18 | pub const VALIDrust-analyzer cargo clap-cargo 0.18.3 style/VALID.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = AnsiColorrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#::BrightCyanrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#BrightCyan#.on_defaultrust-analyzer cargo anstyle 1.0.13 color/impl#[AnsiColor]on_default().().effectsrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]effects().(Effectsrust-analyzer cargo anstyle 1.0.13 effect/Effects#::BOLDrust-analyzer cargo anstyle 1.0.13 effect/impl#[Effects]BOLD.); |
| 19 | pub const INVALIDrust-analyzer cargo clap-cargo 0.18.3 style/INVALID.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = annotate_snippetsrust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/::rendererrust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/::DEFAULT_WARNING_STYLErust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/DEFAULT_WARNING_STYLE.; |
| 20 | pub const TRANSIENTrust-analyzer cargo clap-cargo 0.18.3 style/TRANSIENT.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = annotate_snippetsrust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/::rendererrust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/::DEFAULT_HELP_STYLErust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/DEFAULT_HELP_STYLE.; |
| 21 | pub const CONTEXTrust-analyzer cargo clap-cargo 0.18.3 style/CONTEXT.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = annotate_snippetsrust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/::rendererrust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/::DEFAULT_CONTEXT_STYLErust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/DEFAULT_CONTEXT_STYLE.; |
| 22 | |
| 23 | pub const UPDATE_ADDEDrust-analyzer cargo clap-cargo 0.18.3 style/UPDATE_ADDED.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = NOTErust-analyzer cargo clap-cargo 0.18.3 style/NOTE.; |
| 24 | pub const UPDATE_REMOVEDrust-analyzer cargo clap-cargo 0.18.3 style/UPDATE_REMOVED.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = ERRORrust-analyzer cargo clap-cargo 0.18.3 style/ERROR.; |
| 25 | pub const UPDATE_UPGRADEDrust-analyzer cargo clap-cargo 0.18.3 style/UPDATE_UPGRADED.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = GOODrust-analyzer cargo clap-cargo 0.18.3 style/GOOD.; |
| 26 | pub const UPDATE_DOWNGRADEDrust-analyzer cargo clap-cargo 0.18.3 style/UPDATE_DOWNGRADED.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = WARNrust-analyzer cargo clap-cargo 0.18.3 style/WARN.; |
| 27 | pub const UPDATE_UNCHANGEDrust-analyzer cargo clap-cargo 0.18.3 style/UPDATE_UNCHANGED.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = anstylerust-analyzer cargo anstyle 1.0.13 crate/::Stylerust-analyzer cargo anstyle 1.0.13 style/Style#::newrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]new().().boldrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]bold().(); |
| 28 | |
| 29 | pub const DEP_NORMALrust-analyzer cargo clap-cargo 0.18.3 style/DEP_NORMAL.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = anstylerust-analyzer cargo anstyle 1.0.13 crate/::Stylerust-analyzer cargo anstyle 1.0.13 style/Style#::newrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]new().().effectsrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]effects().(anstylerust-analyzer cargo anstyle 1.0.13 crate/::Effectsrust-analyzer cargo anstyle 1.0.13 effect/Effects#::DIMMEDrust-analyzer cargo anstyle 1.0.13 effect/impl#[Effects]DIMMED.); |
| 30 | pub const DEP_BUILDrust-analyzer cargo clap-cargo 0.18.3 style/DEP_BUILD.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = anstylerust-analyzer cargo anstyle 1.0.13 crate/::AnsiColorrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#::Bluerust-analyzer cargo anstyle 1.0.13 color/AnsiColor#Blue# |
| 31 | .on_defaultrust-analyzer cargo anstyle 1.0.13 color/impl#[AnsiColor]on_default().() |
| 32 | .effectsrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]effects().(anstylerust-analyzer cargo anstyle 1.0.13 crate/::Effectsrust-analyzer cargo anstyle 1.0.13 effect/Effects#::BOLDrust-analyzer cargo anstyle 1.0.13 effect/impl#[Effects]BOLD.); |
| 33 | pub const DEP_DEVrust-analyzer cargo clap-cargo 0.18.3 style/DEP_DEV.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = anstylerust-analyzer cargo anstyle 1.0.13 crate/::AnsiColorrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#::Cyanrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#Cyan# |
| 34 | .on_defaultrust-analyzer cargo anstyle 1.0.13 color/impl#[AnsiColor]on_default().() |
| 35 | .effectsrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]effects().(anstylerust-analyzer cargo anstyle 1.0.13 crate/::Effectsrust-analyzer cargo anstyle 1.0.13 effect/Effects#::BOLDrust-analyzer cargo anstyle 1.0.13 effect/impl#[Effects]BOLD.); |
| 36 | pub const DEP_FEATURErust-analyzer cargo clap-cargo 0.18.3 style/DEP_FEATURE.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = anstylerust-analyzer cargo anstyle 1.0.13 crate/::AnsiColorrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#::Magentarust-analyzer cargo anstyle 1.0.13 color/AnsiColor#Magenta# |
| 37 | .on_defaultrust-analyzer cargo anstyle 1.0.13 color/impl#[AnsiColor]on_default().() |
| 38 | .effectsrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]effects().(anstylerust-analyzer cargo anstyle 1.0.13 crate/::Effectsrust-analyzer cargo anstyle 1.0.13 effect/Effects#::DIMMEDrust-analyzer cargo anstyle 1.0.13 effect/impl#[Effects]DIMMED.); |
| 39 | |
| 40 | /// For use with |
| 41 | /// [`clap::Command::styles`](https://docs.rs/clap/latest/clap/struct.Command.html#method.styles) |
| 42 | #[cfg(feature = "clap")] |
| 43 | pub const CLAP_STYLINGrust-analyzer cargo clap-cargo 0.18.3 style/CLAP_STYLING.: claprust-analyzer cargo clap 4.5.48 crate/::builderrust-analyzer cargo clap_builder 4.5.48 builder/::stylingrust-analyzer cargo clap_builder 4.5.48 builder/styling/::Stylesrust-analyzer cargo clap_builder 4.5.48 builder/styling/Styles# = claprust-analyzer cargo clap 4.5.48 crate/::builderrust-analyzer cargo clap_builder 4.5.48 builder/::stylingrust-analyzer cargo clap_builder 4.5.48 builder/styling/::Stylesrust-analyzer cargo clap_builder 4.5.48 builder/styling/Styles#::styledrust-analyzer cargo clap_builder 4.5.48 builder/styling/impl#[Styles]styled().() |
| 44 | .headerrust-analyzer cargo clap_builder 4.5.48 builder/styling/impl#[Styles]header().(HEADERrust-analyzer cargo clap-cargo 0.18.3 style/HEADER.) |
| 45 | .usagerust-analyzer cargo clap_builder 4.5.48 builder/styling/impl#[Styles]usage().(USAGErust-analyzer cargo clap-cargo 0.18.3 style/USAGE.) |
| 46 | .literalrust-analyzer cargo clap_builder 4.5.48 builder/styling/impl#[Styles]literal().(LITERALrust-analyzer cargo clap-cargo 0.18.3 style/LITERAL.) |
| 47 | .placeholderrust-analyzer cargo clap_builder 4.5.48 builder/styling/impl#[Styles]placeholder().(PLACEHOLDERrust-analyzer cargo clap-cargo 0.18.3 style/PLACEHOLDER.) |
| 48 | .errorrust-analyzer cargo clap_builder 4.5.48 builder/styling/impl#[Styles]error().(ERRORrust-analyzer cargo clap-cargo 0.18.3 style/ERROR.) |
| 49 | .validrust-analyzer cargo clap_builder 4.5.48 builder/styling/impl#[Styles]valid().(VALIDrust-analyzer cargo clap-cargo 0.18.3 style/VALID.) |
| 50 | .invalidrust-analyzer cargo clap_builder 4.5.48 builder/styling/impl#[Styles]invalid().(INVALIDrust-analyzer cargo clap-cargo 0.18.3 style/INVALID.); |
| 51 | |
| 52 | // Copied from https://github.com/rust-lang/annotate-snippets-rs/blob/5a632cdfadb5902bf063722f80b37fcb50da0416/src/renderer/mod.rs |
| 53 | mod annotate_snippetsrust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/ { |
| 54 | pub mod rendererrust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/ { |
| 55 | #![allow(dead_code)] // for copy/paste sake |
| 56 | #![allow(rustdoc::broken_intra_doc_links)] // for copy/paste sake |
| 57 | use anstylerust-analyzer cargo anstyle 1.0.13 crate/::{AnsiColorrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#, Effectsrust-analyzer cargo anstyle 1.0.13 effect/Effects#, Stylerust-analyzer cargo anstyle 1.0.13 style/Style#}; |
| 58 | |
| 59 | const USE_WINDOWS_COLORSrust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/USE_WINDOWS_COLORS.: bool = cfgrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/cfg!!(windows) && !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().cfgrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/cfg!!(feature = "testing_colors"); |
| 60 | const BRIGHT_BLUErust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/BRIGHT_BLUE.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = if USE_WINDOWS_COLORSrust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/USE_WINDOWS_COLORS. { |
| 61 | AnsiColorrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#::BrightCyanrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#BrightCyan#.on_defaultrust-analyzer cargo anstyle 1.0.13 color/impl#[AnsiColor]on_default().() |
| 62 | } else { |
| 63 | AnsiColorrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#::BrightBluerust-analyzer cargo anstyle 1.0.13 color/AnsiColor#BrightBlue#.on_defaultrust-analyzer cargo anstyle 1.0.13 color/impl#[AnsiColor]on_default().() |
| 64 | }; |
| 65 | /// [`Renderer::error`] applied by [`Renderer::styled`] |
| 66 | pub const DEFAULT_ERROR_STYLErust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/DEFAULT_ERROR_STYLE.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = |
| 67 | AnsiColorrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#::BrightRedrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#BrightRed#.on_defaultrust-analyzer cargo anstyle 1.0.13 color/impl#[AnsiColor]on_default().().effectsrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]effects().(Effectsrust-analyzer cargo anstyle 1.0.13 effect/Effects#::BOLDrust-analyzer cargo anstyle 1.0.13 effect/impl#[Effects]BOLD.); |
| 68 | /// [`Renderer::warning`] applied by [`Renderer::styled`] |
| 69 | pub const DEFAULT_WARNING_STYLErust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/DEFAULT_WARNING_STYLE.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = if USE_WINDOWS_COLORSrust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/USE_WINDOWS_COLORS. { |
| 70 | AnsiColorrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#::BrightYellowrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#BrightYellow#.on_defaultrust-analyzer cargo anstyle 1.0.13 color/impl#[AnsiColor]on_default().() |
| 71 | } else { |
| 72 | AnsiColorrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#::Yellowrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#Yellow#.on_defaultrust-analyzer cargo anstyle 1.0.13 color/impl#[AnsiColor]on_default().() |
| 73 | } |
| 74 | .effectsrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]effects().(Effectsrust-analyzer cargo anstyle 1.0.13 effect/Effects#::BOLDrust-analyzer cargo anstyle 1.0.13 effect/impl#[Effects]BOLD.); |
| 75 | /// [`Renderer::info`] applied by [`Renderer::styled`] |
| 76 | pub const DEFAULT_INFO_STYLErust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/DEFAULT_INFO_STYLE.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = BRIGHT_BLUErust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/BRIGHT_BLUE..effectsrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]effects().(Effectsrust-analyzer cargo anstyle 1.0.13 effect/Effects#::BOLDrust-analyzer cargo anstyle 1.0.13 effect/impl#[Effects]BOLD.); |
| 77 | /// [`Renderer::note`] applied by [`Renderer::styled`] |
| 78 | pub const DEFAULT_NOTE_STYLErust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/DEFAULT_NOTE_STYLE.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = |
| 79 | AnsiColorrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#::BrightGreenrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#BrightGreen#.on_defaultrust-analyzer cargo anstyle 1.0.13 color/impl#[AnsiColor]on_default().().effectsrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]effects().(Effectsrust-analyzer cargo anstyle 1.0.13 effect/Effects#::BOLDrust-analyzer cargo anstyle 1.0.13 effect/impl#[Effects]BOLD.); |
| 80 | /// [`Renderer::help`] applied by [`Renderer::styled`] |
| 81 | pub const DEFAULT_HELP_STYLErust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/DEFAULT_HELP_STYLE.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = |
| 82 | AnsiColorrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#::BrightCyanrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#BrightCyan#.on_defaultrust-analyzer cargo anstyle 1.0.13 color/impl#[AnsiColor]on_default().().effectsrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]effects().(Effectsrust-analyzer cargo anstyle 1.0.13 effect/Effects#::BOLDrust-analyzer cargo anstyle 1.0.13 effect/impl#[Effects]BOLD.); |
| 83 | /// [`Renderer::line_num`] applied by [`Renderer::styled`] |
| 84 | pub const DEFAULT_LINE_NUM_STYLErust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/DEFAULT_LINE_NUM_STYLE.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = BRIGHT_BLUErust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/BRIGHT_BLUE..effectsrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]effects().(Effectsrust-analyzer cargo anstyle 1.0.13 effect/Effects#::BOLDrust-analyzer cargo anstyle 1.0.13 effect/impl#[Effects]BOLD.); |
| 85 | /// [`Renderer::emphasis`] applied by [`Renderer::styled`] |
| 86 | pub const DEFAULT_EMPHASIS_STYLErust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/DEFAULT_EMPHASIS_STYLE.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = if USE_WINDOWS_COLORSrust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/USE_WINDOWS_COLORS. { |
| 87 | AnsiColorrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#::BrightWhiterust-analyzer cargo anstyle 1.0.13 color/AnsiColor#BrightWhite#.on_defaultrust-analyzer cargo anstyle 1.0.13 color/impl#[AnsiColor]on_default().() |
| 88 | } else { |
| 89 | Stylerust-analyzer cargo anstyle 1.0.13 style/Style#::newrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]new().() |
| 90 | } |
| 91 | .effectsrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]effects().(Effectsrust-analyzer cargo anstyle 1.0.13 effect/Effects#::BOLDrust-analyzer cargo anstyle 1.0.13 effect/impl#[Effects]BOLD.); |
| 92 | /// [`Renderer::none`] applied by [`Renderer::styled`] |
| 93 | pub const DEFAULT_NONE_STYLErust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/DEFAULT_NONE_STYLE.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = Stylerust-analyzer cargo anstyle 1.0.13 style/Style#::newrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]new().(); |
| 94 | /// [`Renderer::context`] applied by [`Renderer::styled`] |
| 95 | pub const DEFAULT_CONTEXT_STYLErust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/DEFAULT_CONTEXT_STYLE.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = BRIGHT_BLUErust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/BRIGHT_BLUE..effectsrust-analyzer cargo anstyle 1.0.13 style/impl#[Style]effects().(Effectsrust-analyzer cargo anstyle 1.0.13 effect/Effects#::BOLDrust-analyzer cargo anstyle 1.0.13 effect/impl#[Effects]BOLD.); |
| 96 | /// [`Renderer::addition`] applied by [`Renderer::styled`] |
| 97 | pub const DEFAULT_ADDITION_STYLErust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/DEFAULT_ADDITION_STYLE.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = AnsiColorrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#::BrightGreenrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#BrightGreen#.on_defaultrust-analyzer cargo anstyle 1.0.13 color/impl#[AnsiColor]on_default().(); |
| 98 | /// [`Renderer::removal`] applied by [`Renderer::styled`] |
| 99 | pub const DEFAULT_REMOVAL_STYLErust-analyzer cargo clap-cargo 0.18.3 style/annotate_snippets/renderer/DEFAULT_REMOVAL_STYLE.: Stylerust-analyzer cargo anstyle 1.0.13 style/Style# = AnsiColorrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#::BrightRedrust-analyzer cargo anstyle 1.0.13 color/AnsiColor#BrightRed#.on_defaultrust-analyzer cargo anstyle 1.0.13 color/impl#[AnsiColor]on_default().(); |
| 100 | } |
| 101 | } |