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

pub trait Pane {
Show methods fn x(&self) -> usize;
fn y(&self) -> usize;
fn rows(&self) -> usize;
fn columns(&self) -> usize;
fn reset_size_and_position_override(&mut self);
fn change_pos_and_size(&mut self, position_and_size: &PositionAndSize);
fn override_size_and_position(
        &mut self,
        x: usize,
        y: usize,
        size: &PositionAndSize
    );
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) -> PositionAndSize;
fn position_and_size_override(&self) -> Option<PositionAndSize>;
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 set_invisible_borders(&mut self, invisible_borders: bool);
fn set_fixed_height(&mut self, fixed_height: usize);
fn set_fixed_width(&mut self, fixed_width: usize);
fn render(&mut self) -> Option<String>;
fn pid(&self) -> PaneId;
fn reduce_height_down(&mut self, count: usize);
fn increase_height_down(&mut self, count: usize);
fn increase_height_up(&mut self, count: usize);
fn reduce_height_up(&mut self, count: usize);
fn increase_width_right(&mut self, count: usize);
fn reduce_width_right(&mut self, count: usize);
fn reduce_width_left(&mut self, count: usize);
fn increase_width_left(&mut self, count: usize);
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 cursor_shape_csi(&self) -> 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_increase_height_by(&self, increase_by: usize) -> bool { ... }
fn can_increase_width_by(&self, increase_by: usize) -> bool { ... }
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 max_width(&self) -> Option<usize> { ... }
fn max_height(&self) -> Option<usize> { ... }
fn invisible_borders(&self) -> bool { ... }
fn drain_messages_to_pty(&mut self) -> Vec<Vec<u8>> { ... }
fn render_full_viewport(&mut self) { ... }
}

Required methods

Provided methods

Implementors