[][src]Struct syntex_syntax2::diagnostics::plugin::styled_buffer::StyledBuffer

pub struct StyledBuffer { /* fields omitted */ }

Methods

impl StyledBuffer[src]

pub fn new() -> StyledBuffer[src]

pub fn copy_tabs(&mut self, row: usize)[src]

pub fn render(&mut self) -> Vec<Vec<StyledString>>[src]

pub fn putc(&mut self, line: usize, col: usize, chr: char, style: Style)[src]

pub fn puts(&mut self, line: usize, col: usize, string: &str, style: Style)[src]

pub fn set_style(&mut self, line: usize, col: usize, style: Style)[src]

pub fn prepend(&mut self, line: usize, string: &str, style: Style)[src]

pub fn append(&mut self, line: usize, string: &str, style: Style)[src]

pub fn num_lines(&self) -> usize[src]

Trait Implementations

impl Debug for StyledBuffer[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]