pub struct Config {
pub sympols: Sympols,
pub background: Option<ANSIColor>,
pub flags: u8,
}Expand description
the main config structure
Fields§
§sympols: SympolsThe sympols (characters) set.
background: Option<ANSIColor>The result image background, useful if the image has a transparent parts or if you plan to use the REVERSE flag.
flags: u8the boolean flags.
Implementations§
Trait Implementations§
source§impl PartialEq for Config
impl PartialEq for Config
source§impl PartialOrd for Config
impl PartialOrd for Config
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl StructuralPartialEq for Config
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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