Docs.rs
  • ascii-canvas-4.0.0
    • ascii-canvas 4.0.0
    • Docs.rs crate page
    • Apache-2.0/MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • nikomatsakis
    • github:lalrpop:publish
    • Dependencies
      • term ^1 normal
      • diff ^0.1 dev
    • Versions
    • 18.84% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

ascii_canvas4.0.0

Module style

Module Items

  • Structs
  • Constants

In crate ascii_canvas

ascii_canvas

Module style

Source
Expand description

The Style type is a simplified view of the various attributes offered by the term library. These are enumerated as bits so they can be easily or’d together etc.

Structs§

Style
StyleCursor

Constants§

BG_BLACK
BG_BLUE
BG_BRIGHT_BLACK
BG_BRIGHT_BLUE
BG_BRIGHT_CYAN
BG_BRIGHT_GREEN
BG_BRIGHT_MAGENTA
BG_BRIGHT_RED
BG_BRIGHT_WHITE
BG_BRIGHT_YELLOW
BG_CYAN
BG_GREEN
BG_MAGENTA
BG_RED
BG_WHITE
BG_YELLOW
BLINK
BOLD
DEFAULT
DIM
FG_BLACK
FG_BLUE
FG_BRIGHT_BLACK
FG_BRIGHT_BLUE
FG_BRIGHT_CYAN
FG_BRIGHT_GREEN
FG_BRIGHT_MAGENTA
FG_BRIGHT_RED
FG_BRIGHT_WHITE
FG_BRIGHT_YELLOW
FG_CYAN
FG_GREEN
FG_MAGENTA
FG_RED
FG_WHITE
FG_YELLOW
ITALIC
REVERSE
SECURE
STANDOUT
UNDERLINE