edlang/type.impl/anstream/struct.AutoStream.js

3 lines
20 KiB
JavaScript
Raw Normal View History

(function() {var type_impls = {
"anstream":[["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-AutoStream%3CS%3E\" class=\"impl\"><a class=\"src rightside\" href=\"src/anstream/auto.rs.html#22-149\">source</a><a href=\"#impl-AutoStream%3CS%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;S&gt; <a class=\"struct\" href=\"anstream/struct.AutoStream.html\" title=\"struct anstream::AutoStream\">AutoStream</a>&lt;S&gt;<div class=\"where\">where\n S: <a class=\"trait\" href=\"anstream/stream/trait.RawStream.html\" title=\"trait anstream::stream::RawStream\">RawStream</a>,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.new\" class=\"method\"><a class=\"src rightside\" href=\"src/anstream/auto.rs.html#28-38\">source</a><h4 class=\"code-header\">pub fn <a href=\"anstream/struct.AutoStream.html#tymethod.new\" class=\"fn\">new</a>(raw: S, choice: <a class=\"enum\" href=\"anstream/enum.ColorChoice.html\" title=\"enum anstream::ColorChoice\">ColorChoice</a>) -&gt; Self</h4></section></summary><div class=\"docblock\"><p>Runtime control over styling behavior</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.auto\" class=\"method\"><a class=\"src rightside\" href=\"src/anstream/auto.rs.html#43-47\">source</a><h4 class=\"code-header\">pub fn <a href=\"anstream/struct.AutoStream.html#tymethod.auto\" class=\"fn\">auto</a>(raw: S) -&gt; Self</h4></section></summary><div class=\"docblock\"><p>Auto-adapt for the streams capabilities</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.choice\" class=\"method\"><a class=\"src rightside\" href=\"src/anstream/auto.rs.html#51-53\">source</a><h4 class=\"code-header\">pub fn <a href=\"anstream/struct.AutoStream.html#tymethod.choice\" class=\"fn\">choice</a>(raw: <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.76.0/std/primitive.reference.html\">&amp;S</a>) -&gt; <a class=\"enum\" href=\"anstream/enum.ColorChoice.html\" title=\"enum anstream::ColorChoice\">ColorChoice</a></h4></section></summary><div class=\"docblock\"><p>Report the desired choice for the given stream</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.always_ansi\" class=\"method\"><a class=\"src rightside\" href=\"src/anstream/auto.rs.html#58-66\">source</a><h4 class=\"code-header\">pub fn <a href=\"anstream/struct.AutoStream.html#tymethod.always_ansi\" class=\"fn\">always_ansi</a>(raw: S) -&gt; Self</h4></section></summary><div class=\"docblock\"><p>Force ANSI escape codes to be passed through as-is, no matter what the inner <code>Write</code>\nsupports.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.always\" class=\"method\"><a class=\"src rightside\" href=\"src/anstream/auto.rs.html#76-92\">source</a><h4 class=\"code-header\">pub fn <a href=\"anstream/struct.AutoStream.html#tymethod.always\" class=\"fn\">always</a>(raw: S) -&gt; Self</h4></section></summary><div class=\"docblock\"><p>Force color, no matter what the inner <code>Write</code> supports.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.never\" class=\"method\"><a class=\"src rightside\" href=\"src/anstream/auto.rs.html#96-99\">source</a><h4 class=\"code-header\">pub fn <a href=\"anstream/struct.AutoStream.html#tymethod.never\" class=\"fn\">never</a>(raw: S) -&gt; Self</h4></section></summary><div class=\"docblock\"><p>Only pass printable data to the inner <code>Write</code>.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.into_inner\" class=\"method\"><a class=\"src rightside\" href=\"src/anstream/auto.rs.html#117-124\">source</a><h4 class=\"code-header\">pub fn <a href=\"anstream/struct.AutoStream.html#tymethod.into_inner\" class=\"fn\">into_inner</a>(self) -&gt; S</h4></section></summary><div class=\"docblock\"><p>Get the wrapped <a href=\"anstream/stream/trait.RawStream.html\" titl
};if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})()