<h3id='impl'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl <aclass="struct"href="../../mentat_cli/input/struct.InputReader.html"title="struct mentat_cli::input::InputReader">InputReader</a></code><ahref='#impl'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='../../src/mentat_cli/input.rs.html#72-212'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.new'class="method"><spanid='new.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>pub fn <ahref='#method.new'class='fnname'>new</a>() -><aclass="struct"href="../../mentat_cli/input/struct.InputReader.html"title="struct mentat_cli::input::InputReader">InputReader</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='../../src/mentat_cli/input.rs.html#74-90'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Constructs a new <code>InputReader</code> reading from <code>stdin</code>.</p>
</div><h4id='method.is_tty'class="method"><spanid='is_tty.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>pub fn <ahref='#method.is_tty'class='fnname'>is_tty</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='../../src/mentat_cli/input.rs.html#93-95'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Returns whether the <code>InputReader</code> is reading from a TTY.</p>
</div><h4id='method.read_input'class="method"><spanid='read_input.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>pub fn <ahref='#method.read_input'class='fnname'>read_input</a>(&mut self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="enum"href="../../mentat_cli/input/enum.InputResult.html"title="enum mentat_cli::input::InputResult">InputResult</a>, Error></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='../../src/mentat_cli/input.rs.html#100-179'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Reads a single command, item, or statement from <code>stdin</code>.