[−][src]Struct alacritty::event::ActionContext
Fields
notifier: &'a mut N
terminal: &'a mut Term<T>
clipboard: &'a mut Clipboard
size_info: &'a mut SizeInfo
mouse: &'a mut Mouse
received_count: &'a mut usize
suppress_chars: &'a mut bool
modifiers: &'a mut ModifiersState
window: &'a mut Window
message_buffer: &'a mut MessageBuffer
display_update_pending: &'a mut DisplayUpdate
config: &'a mut TermConfig<UIConfig>
event_loop: &'a EventLoopWindowTarget<Event>
urls: &'a Urls
scheduler: &'a mut Scheduler
search_state: &'a mut SearchState
cli_options: &'a CLIOptions
font_size: &'a mut Size
Implementations
impl<'a, N: Notify + 'a, T: EventListener> ActionContext<'a, N, T>
[src]
fn update_search(&mut self)
[src]
fn search_reset_state(&mut self)
[src]
Reset terminal to the state before search was started.
fn goto_match(&mut self, limit: Option<usize>)
[src]
Jump to the first regex match from the search origin.
fn exit_search(&mut self)
[src]
Cleanup the search state.
fn absolute_origin(&self) -> Point<usize>
[src]
Get the absolute position of the search origin.
This takes the relative motion of the viewport since the start of the search into account. So while the absolute point of the origin might have changed since new content was printed, this will still return the correct absolute position.
fn update_cursor_blinking(&mut self)
[src]
Update the cursor blinking state.
Trait Implementations
impl<'a, N: Notify + 'a, T: EventListener> ActionContext<T> for ActionContext<'a, N, T>
[src]
fn write_to_pty<B: Into<Cow<'static, [u8]>>>(&mut self, val: B)
[src]
fn size_info(&self) -> SizeInfo
[src]
fn scroll(&mut self, scroll: Scroll)
[src]
fn copy_selection(&mut self, ty: ClipboardType)
[src]
fn selection_is_empty(&self) -> bool
[src]
fn clear_selection(&mut self)
[src]
fn update_selection(&mut self, point: Point, side: Side)
[src]
fn start_selection(&mut self, ty: SelectionType, point: Point, side: Side)
[src]
fn toggle_selection(&mut self, ty: SelectionType, point: Point, side: Side)
[src]
fn mouse_coords(&self) -> Option<Point>
[src]
fn mouse_mode(&self) -> bool
[src]
fn mouse_mut(&mut self) -> &mut Mouse
[src]
fn mouse(&self) -> &Mouse
[src]
fn received_count(&mut self) -> &mut usize
[src]
fn suppress_chars(&mut self) -> &mut bool
[src]
fn modifiers(&mut self) -> &mut ModifiersState
[src]
fn window(&self) -> &Window
[src]
fn window_mut(&mut self) -> &mut Window
[src]
fn terminal(&self) -> &Term<T>
[src]
fn terminal_mut(&mut self) -> &mut Term<T>
[src]
fn spawn_new_instance(&mut self)
[src]
fn launch_url(&self, url: Url)
[src]
Spawn URL launcher when clicking on URLs.
fn change_font_size(&mut self, delta: f32)
[src]
fn reset_font_size(&mut self)
[src]
fn pop_message(&mut self)
[src]
fn start_search(&mut self, direction: Direction)
[src]
fn confirm_search(&mut self)
[src]
fn cancel_search(&mut self)
[src]
fn search_input(&mut self, c: char)
[src]
fn search_pop_word(&mut self)
[src]
fn search_history_previous(&mut self)
[src]
Go to the previous regex in the search history.
fn search_history_next(&mut self)
[src]
Go to the previous regex in the search history.
fn advance_search_origin(&mut self, direction: Direction)
[src]
fn on_typing_start(&mut self)
[src]
Handle keyboard typing start.
This will temporarily disable some features like terminal cursor blinking or the mouse cursor.
All features are re-enabled again automatically.
fn search_direction(&self) -> Direction
[src]
fn search_active(&self) -> bool
[src]
fn message(&self) -> Option<&Message>
[src]
fn config(&self) -> &TermConfig<UIConfig>
[src]
fn event_loop(&self) -> &EventLoopWindowTarget<Event>
[src]
fn urls(&self) -> &Urls
[src]
fn clipboard_mut(&mut self) -> &mut Clipboard
[src]
fn scheduler_mut(&mut self) -> &mut Scheduler
[src]
Auto Trait Implementations
impl<'a, N, T> !RefUnwindSafe for ActionContext<'a, N, T>
impl<'a, N, T> !Send for ActionContext<'a, N, T>
impl<'a, N, T> !Sync for ActionContext<'a, N, T>
impl<'a, N, T> Unpin for ActionContext<'a, N, T>
impl<'a, N, T> !UnwindSafe for ActionContext<'a, N, T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,