Trait nvim_gtk::render::model_clip_iterator::ModelClipIteratorFactory [−][src]
Required methods
fn get_clip_iterator<'a>(
&'a self,
ctx: &'a Context,
cell_metrics: &'a CellMetrics
) -> ModelClipIterator<'_>ⓘNotable traits for ModelClipIterator<'a>
impl<'a> Iterator for ModelClipIterator<'a> type Item = RowView<'a>;
[src]
&'a self,
ctx: &'a Context,
cell_metrics: &'a CellMetrics
) -> ModelClipIterator<'_>ⓘ
Notable traits for ModelClipIterator<'a>
impl<'a> Iterator for ModelClipIterator<'a> type Item = RowView<'a>;
fn get_row_view<'a>(
&'a self,
ctx: &'a Context,
cell_metrics: &'a CellMetrics,
col: usize
) -> RowView<'a>
[src]
&'a self,
ctx: &'a Context,
cell_metrics: &'a CellMetrics,
col: usize
) -> RowView<'a>
Implementors
impl ModelClipIteratorFactory for UiModel
[src]
Clip implemented as top - 1/bot + 1 this is because in some cases(like ‘g’ character) drawing character does not fit to calculated bounds and if one line must be repainted - also previous and next line must be repainted to
fn get_row_view<'a>(
&'a self,
ctx: &'a Context,
cell_metrics: &'a CellMetrics,
col: usize
) -> RowView<'a>
[src]
&'a self,
ctx: &'a Context,
cell_metrics: &'a CellMetrics,
col: usize
) -> RowView<'a>
fn get_clip_iterator<'a>(
&'a self,
ctx: &'a Context,
cell_metrics: &'a CellMetrics
) -> ModelClipIterator<'a>ⓘNotable traits for ModelClipIterator<'a>
impl<'a> Iterator for ModelClipIterator<'a> type Item = RowView<'a>;
[src]
&'a self,
ctx: &'a Context,
cell_metrics: &'a CellMetrics
) -> ModelClipIterator<'a>ⓘ
Notable traits for ModelClipIterator<'a>
impl<'a> Iterator for ModelClipIterator<'a> type Item = RowView<'a>;