|
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="An interface for a command that performs an action on the terminal."><title>Command in crossterm - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="crossterm" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../crossterm/index.html">crossterm</a><span class="version">0.28.1</span></h2></div><h2 class="location"><a href="#">Command</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.write_ansi">write_ansi</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-Command-for-%26T">&T</a></li></ul><h3><a href="#object-safety">Object Safety</a></h3><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In crate crossterm</a></h2></div></nav><div class="sidebar-resizer"></div>
|
|
|
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../crossterm/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="index.html">crossterm</a>::<wbr><a class="trait" href="#">Command</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../src/crossterm/command.rs.html#12-37">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub trait Command {
|
|
|
// Required method
|
|
|
fn <a href="#tymethod.write_ansi" class="fn">write_ansi</a>(&self, f: &mut impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Write.html" title="trait core::fmt::Write">Write</a>) -> <a class="type" href="https://doc.rust-lang.org/1.76.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a>;
|
|
|
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>An interface for a command that performs an action on the terminal.</p>
|
|
|
<p>Crossterm provides a set of commands,
|
|
|
and there is no immediate reason to implement a command yourself.
|
|
|
In order to understand how to use and execute commands,
|
|
|
it is recommended that you take a look at <a href="./index.html#command-api">Command API</a> chapter.</p>
|
|
|
</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.write_ansi" class="method"><a class="src rightside" href="../src/crossterm/command.rs.html#18">source</a><h4 class="code-header">fn <a href="#tymethod.write_ansi" class="fn">write_ansi</a>(&self, f: &mut impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Write.html" title="trait core::fmt::Write">Write</a>) -> <a class="type" href="https://doc.rust-lang.org/1.76.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class="docblock"><p>Write an ANSI representation of this command to the given writer.
|
|
|
An ANSI code can manipulate the terminal by writing it to the terminal buffer.
|
|
|
However, only Windows 10 and UNIX systems support this.</p>
|
|
|
<p>This method does not need to be accessed manually, as it is used by the crossterm’s <a href="./index.html#command-api">Command API</a></p>
|
|
|
</div></details></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/1.76.0/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-Command-for-%26T" class="impl"><a class="src rightside" href="../src/crossterm/command.rs.html#39-55">source</a><a href="#impl-Command-for-%26T" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> + ?<a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>> <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&T</a></h3></section></summary><div class="impl-items"><section id="method.write_ansi" class="method trait-impl"><a class="src rightside" href="../src/crossterm/command.rs.html#40-42">source</a><a href="#method.write_ansi" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.write_ansi" class="fn">write_ansi</a>(&self, f: &mut impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Write.html" title="trait core::fmt::Write">Write</a>) -> <a class="type" href="https://doc.rust-lang.org/1.76.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Command-for-SetCursorStyle" class="impl"><a class="src rightside" href="../src/crossterm/cursor.rs.html#391-408">source</a><a href="#impl-Command-for-SetCursorStyle" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="enum" href="cursor/enum.SetCursorStyle.html" title="enum crossterm::cursor::SetCursorStyle">SetCursorStyle</a></h3></section><section id="impl-Command-for-DisableBlinking" class="impl"><a class="src rightside" href="../src/crossterm/cursor.rs.html#357-365">source</a><a href="#impl-Command-for-DisableBlinking" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="cursor/struct.DisableBlinking.html" title="struct crossterm::cursor::DisableBlinking">DisableBlinking</a></h3></section><section id="impl-Command-for-EnableBlinking" class="impl"><a class="src rightside" href="../src/crossterm/cursor.rs.html#338-346">source</a><a href="#impl-Command-for-EnableBlinking" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="cursor/struct.EnableBlinking.html" title="struct crossterm::cursor::EnableBlinking">EnableBlinking</a></h3></section><section id="impl-Command-for-Hide" class="impl"><a class="src rightside" href="../src/crossterm/cursor.rs.html#299-308">source</a><a href="#impl-Command-for-Hide" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="cursor/struct.Hide.html" title="struct crossterm::cursor::Hide">Hide</a></h3></section><section id="impl-Command-for-MoveDown" class="impl"><a class="src rightside" href="../src/crossterm/cursor.rs.html#214-224">source</a><a href="#impl-Command-for-MoveDown" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="cursor/struct.MoveDown.html" title="struct crossterm::cursor::MoveDown">MoveDown</a></h3></section><section id="impl-Command-for-MoveLeft" class="impl"><a class="src rightside" href="../src/crossterm/cursor.rs.html#235-245">source</a><a href="#impl-Command-for-MoveLeft" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="cursor/struct.MoveLeft.html" title="struct crossterm::cursor::MoveLeft">MoveLeft</a></h3></section><section id="impl-Command-for-MoveRight" class="impl"><a class="src rightside" href="../src/crossterm/cursor.rs.html#193-203">source</a><a href="#impl-Command-for-MoveRight" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="cursor/struct.MoveRight.html" title="struct crossterm::cursor::MoveRight">MoveRight</a></h3></section><section id="impl-Command-for-MoveTo" class="impl"><a class="src rightside" href="../src/crossterm/cursor.rs.html#62-71">source</a><a href="#impl-Command-for-MoveTo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="cursor/struct.MoveTo.html" title="struct crossterm::cursor::MoveTo">MoveTo</a></h3></section><section id="impl-Command-for-MoveToColumn" class="impl"><a class="src rightside" href="../src/crossterm/cursor.rs.html#131-141">source</a><a href="#impl-Command-for-MoveToColumn" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="cursor/struct.MoveToColumn.html" title="struct crossterm::cursor::MoveToColumn">MoveToColumn</a></h3></section><section id="impl-Command-for-MoveToNextLine" class="impl"><a class="src rightside" href="../src/crossterm/cursor.rs.html#83-96">source</a><a href="#impl-Command-for-MoveToNextLine" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="cursor/struct.MoveToNextLine.html" title="struct crossterm::cursor::MoveToNextLine">MoveToNextLine</a></h3></section><section id="impl-Command-for-MoveToPreviousLine" class="impl"><a class="src rightside" href="../src/crossterm/cursor.rs.html#108-121">source</a><a href="#impl-Command-for-MoveToPreviousLine" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="cursor/struct.MoveToPreviousLine.html" title="struct crossterm::cursor::MoveToPreviousLine">MoveToPreviousLine</a></h3></section><section id="impl-Command-for-MoveToRow" class="impl"><a class="src rightside" href="../src/crossterm/cursor.rs.html#151-161">source</a><a href="#impl-Command-for-MoveToRow" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="cursor/struct.MoveToRow.html" title="struct crossterm::cursor::MoveToRow">MoveToRow</a></h3></section><section id="impl-Command-for-MoveUp" class="impl"><a class="src rightside" href="../src/crossterm/cursor.rs.html#172-182">source</a><a href="#impl-Command-for-MoveUp" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="cursor/struct.MoveUp.html" title="struct crossterm::cursor::MoveUp">MoveUp</a></h3></section><section id="impl-Command-for-RestorePosition" class="impl"><a class="src rightside" href="../src/crossterm/cursor.rs.html#280-289">source</a><a href="#impl-Command-for-RestorePosition" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="cursor/struct.RestorePosition.html" title="struct crossterm::cursor::RestorePosition">RestorePosition</a></h3></section><section id="impl-Command-for-SavePosition" class="impl"><a class="src rightside" href="../src/crossterm/cursor.rs.html#258-267">source</a><a href="#impl-Command-for-SavePosition" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="cursor/struct.SavePosition.html" title="struct crossterm::cursor::SavePosition">SavePosition</a></h3></section><section id="impl-Command-for-Show" class="impl"><a class="src rightside" href="../src/crossterm/cursor.rs.html#318-327">source</a><a href="#impl-Command-for-Show" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="cursor/struct.Show.html" title="struct crossterm::cursor::Show">Show</a></h3></section><section id="impl-Command-for-DisableBracketedPaste" class="impl"><a class="src rightside" href="../src/crossterm/event.rs.html#442-451">source</a><a href="#impl-Command-for-DisableBracketedPaste" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="event/struct.DisableBracketedPaste.html" title="struct crossterm::event::DisableBracketedPaste">DisableBracketedPaste</a></h3></section><section id="impl-Command-for-DisableFocusChange" class="impl"><a class="src rightside" href="../src/crossterm/event.rs.html#399-409">source</a><a href="#impl-Command-for-DisableFocusChange" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="event/struct.DisableFocusChange.html" title="struct crossterm::event::DisableFocusChange">DisableFocusChange</a></h3></section><section id="impl-Command-for-DisableMouseCapture" class="impl"><a class="src rightside" href="../src/crossterm/event.rs.html#352-373">source</a><a href="#impl-Command-for-DisableMouseCapture" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="event/struct.DisableMouseCapture.html" title="struct crossterm::event::DisableMouseCapture">DisableMouseCapture</a></h3></section><section id="impl-Command-for-EnableBracketedPaste" class="impl"><a class="src rightside" href="../src/crossterm/event.rs.html#422-434">source</a><a href="#impl-Command-for-EnableBracketedPaste" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="event/struct.EnableBracketedPaste.html" title="struct crossterm::event::EnableBracketedPaste">EnableBracketedPaste</a></h3></section><section id="impl-Command-for-EnableFocusChange" class="impl"><a class="src rightside" href="../src/crossterm/event.rs.html#383-393">source</a><a href="#impl-Command-for-EnableFocusChange" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="event/struct.EnableFocusChange.html" title="struct crossterm::event::EnableFocusChange">EnableFocusChange</a></h3></section><section id="impl-Command-for-EnableMouseCapture" class="impl"><a class="src rightside" href="../src/crossterm/event.rs.html#319-344">source</a><a href="#impl-Command-for-EnableMouseCapture" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="event/struct.EnableMouseCapture.html" title="struct crossterm::event::EnableMouseCapture">EnableMouseCapture</a></h3></section><section id="impl-Command-for-PopKeyboardEnhancementFlags" class="impl"><a class="src rightside" href="../src/crossterm/event.rs.html#522-541">source</a><a href="#impl-Command-for-PopKeyboardEnhancementFlags" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="event/struct.PopKeyboardEnhancementFlags.html" title="struct crossterm::event::PopKeyboardEnhancementFlags">PopKeyboardEnhancementFlags</a></h3></section><section id="impl-Command-for-PushKeyboardEnhancementFlags" class="impl"><a class="src rightside" href="../src/crossterm/event.rs.html#493-512">source</a><a href="#impl-Command-for-PushKeyboardEnhancementFlags" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="event/struct.PushKeyboardEnhancementFlags.html" title="struct crossterm::event::PushKeyboardEnhancementFlags">PushKeyboardEnhancementFlags</a></h3></section><section id="impl-Command-for-ResetColor" class="impl"><a class="src rightside" href="../src/crossterm/style.rs.html#484-493">source</a><a href="#impl-Command-for-ResetColor" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="style/struct.ResetColor.html" title="struct crossterm::style::ResetColor">ResetColor</a></h3></section><section id="impl-Command-for-SetAttribute" class="impl"><a class="src rightside" href="../src/crossterm/style.rs.html#338-348">source</a><a href="#impl-Command-for-SetAttribute" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="style/struct.SetAttribute.html" title="struct crossterm::style::SetAttribute">SetAttribute</a></h3></section><section id="impl-Command-for-SetAttributes" class="impl"><a class="src rightside" href="../src/crossterm/style.rs.html#360-375">source</a><a href="#impl-Command-for-SetAttributes" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="style/struct.SetAttributes.html" title="struct crossterm::style::SetAttributes">SetAttributes</a></h3></section><section id="impl-Command-for-SetBackgroundColor" class="impl"><a class="src rightside" href="../src/crossterm/style.rs.html#232-241">source</a><a href="#impl-Command-for-SetBackgroundColor" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="style/struct.SetBackgroundColor.html" title="struct crossterm::style::SetBackgroundColor">SetBackgroundColor</a></h3></section><section id="impl-Command-for-SetColors" class="impl"><a class="src rightside" href="../src/crossterm/style.rs.html#294-326">source</a><a href="#impl-Command-for-SetColors" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="style/struct.SetColors.html" title="struct crossterm::style::SetColors">SetColors</a></h3></section><section id="impl-Command-for-SetForegroundColor" class="impl"><a class="src rightside" href="../src/crossterm/style.rs.html#208-217">source</a><a href="#impl-Command-for-SetForegroundColor" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="style/struct.SetForegroundColor.html" title="struct crossterm::style::SetForegroundColor">SetForegroundColor</a></h3></section><section id="impl-Command-for-SetStyle" class="impl"><a class="src rightside" href="../src/crossterm/style.rs.html#385-412">source</a><a href="#impl-Command-for-SetStyle" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="style/struct.SetStyle.html" title="struct crossterm::style::SetStyle">SetStyle</a></h3></section><section id="impl-Command-for-SetUnderlineColor" class="impl"><a class="src rightside" href="../src/crossterm/style.rs.html#256-268">source</a><a href="#impl-Command-for-SetUnderlineColor" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="style/struct.SetUnderlineColor.html" title="struct crossterm::style::SetUnderlineColor">SetUnderlineColor</a></h3></section><section id="impl-Command-for-BeginSynchronizedUpdate" class="impl"><a class="src rightside" href="../src/crossterm/terminal.rs.html#435-450">source</a><a href="#impl-Command-for-BeginSynchronizedUpdate" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="terminal/struct.BeginSynchronizedUpdate.html" title="struct crossterm::terminal::BeginSynchronizedUpdate">BeginSynchronizedUpdate</a></h3></section><section id="impl-Command-for-Clear" class="impl"><a class="src rightside" href="../src/crossterm/terminal.rs.html#343-359">source</a><a href="#impl-Command-for-Clear" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="terminal/struct.Clear.html" title="struct crossterm::terminal::Clear">Clear</a></h3></section><section id="impl-Command-for-DisableLineWrap" class="impl"><a class="src rightside" href="../src/crossterm/terminal.rs.html#161-174">source</a><a href="#impl-Command-for-DisableLineWrap" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="terminal/struct.DisableLineWrap.html" title="struct crossterm::terminal::DisableLineWrap">DisableLineWrap</a></h3></section><section id="impl-Command-for-EnableLineWrap" class="impl"><a class="src rightside" href="../src/crossterm/terminal.rs.html#180-193">source</a><a href="#impl-Command-for-EnableLineWrap" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="terminal/struct.EnableLineWrap.html" title="struct crossterm::terminal::EnableLineWrap">EnableLineWrap</a></h3></section><section id="impl-Command-for-EndSynchronizedUpdate" class="impl"><a class="src rightside" href="../src/crossterm/terminal.rs.html#488-503">source</a><a href="#impl-Command-for-EndSynchronizedUpdate" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="terminal/struct.EndSynchronizedUpdate.html" title="struct crossterm::terminal::EndSynchronizedUpdate">EndSynchronizedUpdate</a></h3></section><section id="impl-Command-for-EnterAlternateScreen" class="impl"><a class="src rightside" href="../src/crossterm/terminal.rs.html#220-231">source</a><a href="#impl-Command-for-EnterAlternateScreen" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="terminal/struct.EnterAlternateScreen.html" title="struct crossterm::terminal::EnterAlternateScreen">EnterAlternateScreen</a></h3></section><section id="impl-Command-for-LeaveAlternateScreen" class="impl"><a class="src rightside" href="../src/crossterm/terminal.rs.html#258-269">source</a><a href="#impl-Command-for-LeaveAlternateScreen" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="terminal/struct.LeaveAlternateScreen.html" title="struct crossterm::terminal::LeaveAlternateScreen">LeaveAlternateScreen</a></h3></section><section id="impl-Command-for-ScrollDown" class="impl"><a class="src rightside" href="../src/crossterm/terminal.rs.html#319-331">source</a><a href="#impl-Command-for-ScrollDown" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="terminal/struct.ScrollDown.html" title="struct crossterm::terminal::ScrollDown">ScrollDown</a></h3></section><section id="impl-Command-for-ScrollUp" class="impl"><a class="src rightside" href="../src/crossterm/terminal.rs.html#297-309">source</a><a href="#impl-Command-for-ScrollUp" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="terminal/struct.ScrollUp.html" title="struct crossterm::terminal::ScrollUp">ScrollUp</a></h3></section><section id="impl-Command-for-SetSize" class="impl"><a class="src rightside" href="../src/crossterm/terminal.rs.html#369-378">source</a><a href="#impl-Command-for-SetSize" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="terminal/struct.SetSize.html" title="struct crossterm::terminal::SetSize">SetSize</a></h3></section><section id="impl-Command-for-PrintStyledContent%3CD%3E" class="impl"><a class="src rightside" href="../src/crossterm/style.rs.html#424-474">source</a><a href="#impl-Command-for-PrintStyledContent%3CD%3E" class="anchor">§</a><h3 class="code-header">impl<D: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a>> <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="style/struct.PrintStyledContent.html" title="struct crossterm::style::PrintStyledContent">PrintStyledContent</a><D></h3></section><section id="impl-Command-for-Print%3CT%3E" class="impl"><a class="src rightside" href="../src/crossterm/style.rs.html#501-515">source</a><a href="#impl-Command-for-Print%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a>> <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="style/struct.Print.html" title="struct crossterm::style::Print">Print</a><T></h3></section><section id="impl-Command-for-SetTitle%3CT%3E" class="impl"><a class="src rightside" href="../src/crossterm/terminal.rs.html#388-397">source</a><a href="#impl-Command-for-SetTitle%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a>> <a class="trait" href="trait.Command.html" title="trait crossterm::Command">Command</a> for <a class="struct" href="terminal/struct.SetTitle.html" title="struct crossterm::terminal::SetTitle">SetTitle</a><T></h3></section></div><script src="../trait.impl/crossterm/command/trait.Command.js" async></script></section></div></main></body></html> |