pub fn dump_spans<W: fmt::Write>(&self, buffer: &mut W) {
        let mut first = true;
        for span in self.iter() {
            if !first && write!(buffer, ", ").is_err() { return; }
            first = false;
            if write!(buffer, "{:?}", span.span_type).is_err() { return; }
        }
    }
/// For debugging: generate a string listing _only_ the color of each
/// span of memory.
For debugging: generate a string listing _only_ the color of each
span of memory.
For debugging : generate a string listing _only_ the color of each span of memory .
pub fn dump_spans<W: fmt::Write>(&self, buffer: &mut W) {
        let mut first = true;
        for span in self.iter() {
            if !first && write!(buffer, ", ").is_err() { return; }
            first = false;
            if write!(buffer, "{:?}", span.span_type).is_err() { return; }
        }
    }
pub fn dump_spans < W : fmt :: Write > ( & self , buffer : & mut W ) { let mut first = true ; for span in self . iter ( ) { if ! first && write ! ( buffer " " ) . is_err ( ) { return ; } first = false ; if write ! ( buffer " " span span_type ) . is_err ( ) { return ; } } }
For debugging: generate a string listing _only_ the color of each
span of memory.
For debugging : generate a string listing _only_ the color of each span of memory .
&self
buffer
&mut W
&self
buffer
&mut W