pub struct AnsiOptions {
pub ice: bool,
pub unicode: bool,
pub codepage: Option<&'static CodePage>,
}Expand description
Options for ansi.
Fields§
§ice: boolThe art uses iCE colors (blink means bright background): start with
CSI ?33h so viewers that know it switch modes.
unicode: boolWrite glyphs as UTF-8 instead of CP437 bytes (for the clipboard).
codepage: Option<&'static CodePage>The code page the screen is in, if not CP437 (for unicode).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AnsiOptions
impl RefUnwindSafe for AnsiOptions
impl Send for AnsiOptions
impl Sync for AnsiOptions
impl Unpin for AnsiOptions
impl UnsafeUnpin for AnsiOptions
impl UnwindSafe for AnsiOptions
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
Source§impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
Source§fn default_with_context(_: Ctx) -> T
fn default_with_context(_: Ctx) -> T
Creates a default value with the given context.