Trait zellij_server::tab::Pane[][src]

pub trait Pane {
Show 66 methods fn x(&self) -> usize;
fn y(&self) -> usize;
fn rows(&self) -> usize;
fn cols(&self) -> usize;
fn get_content_x(&self) -> usize;
fn get_content_y(&self) -> usize;
fn get_content_columns(&self) -> usize;
fn get_content_rows(&self) -> usize;
fn reset_size_and_position_override(&mut self);
fn set_geom(&mut self, position_and_size: PaneGeom);
fn get_geom_override(&mut self, pane_geom: PaneGeom);
fn handle_pty_bytes(&mut self, bytes: Vec<u8>);
fn cursor_coordinates(&self) -> Option<(usize, usize)>;
fn adjust_input_to_terminal(&self, input_bytes: Vec<u8>) -> Vec<u8>;
fn position_and_size(&self) -> PaneGeom;
fn current_geom(&self) -> PaneGeom;
fn geom_override(&self) -> Option<PaneGeom>;
fn should_render(&self) -> bool;
fn set_should_render(&mut self, should_render: bool);
fn selectable(&self) -> bool;
fn set_selectable(&mut self, selectable: bool);
fn render(&mut self) -> Option<String>;
fn pid(&self) -> PaneId;
fn reduce_height(&mut self, percent: f64);
fn increase_height(&mut self, percent: f64);
fn reduce_width(&mut self, percent: f64);
fn increase_width(&mut self, percent: f64);
fn push_down(&mut self, count: usize);
fn push_right(&mut self, count: usize);
fn pull_left(&mut self, count: usize);
fn pull_up(&mut self, count: usize);
fn scroll_up(&mut self, count: usize);
fn scroll_down(&mut self, count: usize);
fn clear_scroll(&mut self);
fn active_at(&self) -> Instant;
fn set_active_at(&mut self, instant: Instant);
fn set_frame(&mut self, frame: bool);
fn set_content_offset(&mut self, offset: Offset);
fn set_borderless(&mut self, borderless: bool);
fn borderless(&self) -> bool; fn set_should_render_boundaries(&mut self, _should_render: bool) { ... }
fn cursor_shape_csi(&self) -> String { ... }
fn contains(&self, position: &Position) -> bool { ... }
fn start_selection(&mut self, _start: &Position) { ... }
fn update_selection(&mut self, _position: &Position) { ... }
fn end_selection(&mut self, _end: Option<&Position>) { ... }
fn reset_selection(&mut self) { ... }
fn get_selected_text(&self) -> Option<String> { ... }
fn right_boundary_x_coords(&self) -> usize { ... }
fn bottom_boundary_y_coords(&self) -> usize { ... }
fn is_directly_right_of(&self, other: &dyn Pane) -> bool { ... }
fn is_directly_left_of(&self, other: &dyn Pane) -> bool { ... }
fn is_directly_below(&self, other: &dyn Pane) -> bool { ... }
fn is_directly_above(&self, other: &dyn Pane) -> bool { ... }
fn horizontally_overlaps_with(&self, other: &dyn Pane) -> bool { ... }
fn get_horizontal_overlap_with(&self, other: &dyn Pane) -> usize { ... }
fn vertically_overlaps_with(&self, other: &dyn Pane) -> bool { ... }
fn get_vertical_overlap_with(&self, other: &dyn Pane) -> usize { ... }
fn can_reduce_height_by(&self, reduce_by: usize) -> bool { ... }
fn can_reduce_width_by(&self, reduce_by: usize) -> bool { ... }
fn min_width(&self) -> usize { ... }
fn min_height(&self) -> usize { ... }
fn drain_messages_to_pty(&mut self) -> Vec<Vec<u8>> { ... }
fn render_full_viewport(&mut self) { ... }
fn relative_position(&self, position_on_screen: &Position) -> Position { ... }
fn set_boundary_color(&mut self, _color: Option<PaletteColor>) { ... }
}

Required methods

Provided methods

Implementors