pub fn new(hist: &[HistogramValue], glyph: &str) -> Glyph {
        let mut z = Glyph {
            hist: hist.to_vec(),
            glyph: glyph.to_owned(),
            lstrip_hist: vec![],
            total: 0,
            first_non_zero: 0,
            ignore_on_lstrip: false,
            max_consecutive: None,
            trim_right: false,
            trim_left: false,
        };
        z.prepare();
        z
    }
/// Create a new glyph from a histogram and glyph to represent it.
Create a new glyph from a histogram and glyph to represent it.
Create a new glyph from a histogram and glyph to represent it .
pub fn new(hist: &[HistogramValue], glyph: &str) -> Glyph {
        let mut z = Glyph {
            hist: hist.to_vec(),
            glyph: glyph.to_owned(),
            lstrip_hist: vec![],
            total: 0,
            first_non_zero: 0,
            ignore_on_lstrip: false,
            max_consecutive: None,
            trim_right: false,
            trim_left: false,
        };
        z.prepare();
        z
    }
pub fn new ( hist : & [ HistogramValue ] , glyph : & str ) -> Glyph { let mut z = Glyph { hist : hist . to_vec ( ) , glyph : glyph . to_owned ( ) , lstrip_hist : vec ! [ ] , total : 0 , first_non_zero : 0 , ignore_on_lstrip : false , max_consecutive : None , trim_right : false , trim_left : false , } ; z . prepare ( ) ; z }
Create a new glyph from a histogram and glyph to represent it.
Create a new glyph from a histogram and glyph to represent it .
hist
&[HistogramValue]
glyph
&str