Function anstream::adapter::strip_bytes
source · pub fn strip_bytes(data: &[u8]) -> StrippedBytes<'_> ⓘ
Expand description
Strip ANSI escapes from bytes, returning the printable content
+Function anstream::adapter::strip_bytes
source · pub fn strip_bytes(data: &[u8]) -> StrippedBytes<'_> ⓘ
Expand description
Strip ANSI escapes from bytes, returning the printable content
This can be used to take output from a program that includes escape sequences and write it somewhere that does not easily support them, such as a log file.
§Example
diff --git a/anstream/adapter/fn.strip_str.html b/anstream/adapter/fn.strip_str.html index 394d8b70c0..879e31ed3c 100644 --- a/anstream/adapter/fn.strip_str.html +++ b/anstream/adapter/fn.strip_str.html @@ -1,4 +1,4 @@ -pub fn strip_str(data: &str) -> StrippedStr<'_> ⓘ
Expand description
Strip ANSI escapes from a &str
, returning the printable content
pub fn strip_str(data: &str) -> StrippedStr<'_> ⓘ
Expand description
Strip ANSI escapes from a &str
, returning the printable content
This can be used to take output from a program that includes escape sequences and write it somewhere that does not easily support them, such as a log file.
For non-contiguous data, see StripStr
.
Expand description
Gracefully degrade styled output
+Expand description
Gracefully degrade styled output
Structs§
- Incrementally strip non-contiguous data
- See
StripBytes
- Incrementally strip non-contiguous data
- See
StripStr
- See
strip_bytes
- See
strip_str
- Incrementally convert to wincon calls for non-contiguous data
- See
WinconBytes
Functions§
- Strip ANSI escapes from bytes, returning the printable content
- Strip ANSI escapes from a
&str
, returning the printable content
Struct anstream::adapter::StripBytes
source · pub struct StripBytes { /* private fields */ }
Expand description
Incrementally strip non-contiguous data
+Struct anstream::adapter::StripBytes
source · pub struct StripBytes { /* private fields */ }
Expand description
Incrementally strip non-contiguous data
Implementations§
source§impl StripBytes
impl StripBytes
sourcepub fn strip_next<'s>(&'s mut self, bytes: &'s [u8]) -> StripBytesIter<'s> ⓘ
pub fn strip_next<'s>(&'s mut self, bytes: &'s [u8]) -> StripBytesIter<'s> ⓘ
Strip the next segment of data
Trait Implementations§
source§impl Clone for StripBytes
impl Clone for StripBytes
source§fn clone(&self) -> StripBytes
fn clone(&self) -> StripBytes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StripBytes
impl Debug for StripBytes
source§impl Default for StripBytes
impl Default for StripBytes
source§fn default() -> StripBytes
fn default() -> StripBytes
source§impl PartialEq for StripBytes
impl PartialEq for StripBytes
source§fn eq(&self, other: &StripBytes) -> bool
fn eq(&self, other: &StripBytes) -> bool
self
and other
values to be equal, and is used
diff --git a/anstream/adapter/struct.StripBytesIter.html b/anstream/adapter/struct.StripBytesIter.html
index 2017431c09..b492896f65 100644
--- a/anstream/adapter/struct.StripBytesIter.html
+++ b/anstream/adapter/struct.StripBytesIter.html
@@ -1,4 +1,4 @@
-Struct anstream::adapter::StripBytesIter
source · pub struct StripBytesIter<'s> { /* private fields */ }
Expand description
See StripBytes
Struct anstream::adapter::StripBytesIter
source · pub struct StripBytesIter<'s> { /* private fields */ }
Expand description
See StripBytes
Trait Implementations§
source§impl<'s> Debug for StripBytesIter<'s>
impl<'s> Debug for StripBytesIter<'s>
source§impl<'s> Iterator for StripBytesIter<'s>
impl<'s> Iterator for StripBytesIter<'s>
source§fn next(&mut self) -> Option<Self::Item>
fn next(&mut self) -> Option<Self::Item>
source§fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
@@ -142,7 +142,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
@@ -142,7 +142,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
iter_order_by
)Iterator
with those
-of another with respect to the specified comparison function. Read more1.5.0 · source§fn eq<I>(self, other: I) -> boolwhere
+of another with respect to the specified comparison function. Read more
fn eq<I>(self, other: I) -> boolwhere
+of another with respect to the specified comparison function. Read more
1.5.0 · source§fn eq<I>(self, other: I) -> bool
fn eq<I>(self, other: I) -> bool
Iterator
are equal to those of
@@ -150,7 +150,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,iter_order_by
)1.5.0 · source§fn ne<I>(self, other: I) -> boolwhere
+another with respect to the specified equality function. Read more
fn ne<I>(self, other: I) -> boolwhere
+another with respect to the specified equality function. Read more
1.5.0 · source§fn ne<I>(self, other: I) -> bool
fn ne<I>(self, other: I) -> bool
Iterator
are not equal to those of
@@ -176,8 +176,8 @@
Self: Sized,
F: FnMut(Self::Item) -> K,
K: PartialOrd,is_sorted
)source§impl<'s> PartialEq for StripBytesIter<'s>
impl<'s> PartialEq for StripBytesIter<'s>
source§impl<'s> PartialEq for StripBytesIter<'s>
impl<'s> PartialEq for StripBytesIter<'s>
source§fn eq(&self, other: &StripBytesIter<'s>) -> bool
fn eq(&self, other: &StripBytesIter<'s>) -> bool
self
and other
values to be equal, and is used
+by ==
.impl<'s> Eq for StripBytesIter<'s>
impl<'s> StructuralPartialEq for StripBytesIter<'s>
Auto Trait Implementations§
impl<'s> Freeze for StripBytesIter<'s>
impl<'s> RefUnwindSafe for StripBytesIter<'s>
impl<'s> Send for StripBytesIter<'s>
impl<'s> Sync for StripBytesIter<'s>
impl<'s> Unpin for StripBytesIter<'s>
impl<'s> !UnwindSafe for StripBytesIter<'s>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/anstream/adapter/struct.StripStr.html b/anstream/adapter/struct.StripStr.html
index dfbffb5839..0090e931d0 100644
--- a/anstream/adapter/struct.StripStr.html
+++ b/anstream/adapter/struct.StripStr.html
@@ -1,4 +1,4 @@
-StripStr in anstream::adapter - Rust pub struct StripStr { /* private fields */ }
Expand description
Incrementally strip non-contiguous data
+StripStr in anstream::adapter - Rust pub struct StripStr { /* private fields */ }
Expand description
Incrementally strip non-contiguous data
Implementations§
source§impl StripStr
sourcepub fn strip_next<'s>(&'s mut self, data: &'s str) -> StripStrIter<'s> ⓘ
Strip the next segment of data
Trait Implementations§
source§impl PartialEq for StripStr
source§fn eq(&self, other: &StripStr) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/anstream/adapter/struct.StripStrIter.html b/anstream/adapter/struct.StripStrIter.html
index 5539e6ced6..8a6822c5ae 100644
--- a/anstream/adapter/struct.StripStrIter.html
+++ b/anstream/adapter/struct.StripStrIter.html
@@ -1,4 +1,4 @@
-StripStrIter in anstream::adapter - Rust Struct anstream::adapter::StripStrIter
source · pub struct StripStrIter<'s> { /* private fields */ }
Expand description
See StripStr
+StripStrIter in anstream::adapter - Rust Struct anstream::adapter::StripStrIter
source · pub struct StripStrIter<'s> { /* private fields */ }
Expand description
See StripStr
Trait Implementations§
source§impl<'s> Debug for StripStrIter<'s>
source§impl<'s> Iterator for StripStrIter<'s>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
@@ -142,7 +142,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
🔬This is a nightly-only experimental API. (iter_order_by
)Lexicographically compares the elements of this Iterator
with those
-of another with respect to the specified comparison function. Read more1.5.0 · source§fn eq<I>(self, other: I) -> boolwhere
+of another with respect to the specified comparison function. Read more
1.5.0 · source§fn eq<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are equal to those of
@@ -150,7 +150,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,🔬This is a nightly-only experimental API. (iter_order_by
)1.5.0 · source§fn ne<I>(self, other: I) -> boolwhere
+another with respect to the specified equality function. Read more
1.5.0 · source§fn ne<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are not equal to those of
@@ -176,8 +176,8 @@
Self: Sized,
F: FnMut(Self::Item) -> K,
K: PartialOrd,🔬This is a nightly-only experimental API. (is_sorted
)Checks if the elements of this iterator are sorted using the given key extraction
-function. Read moresource§impl<'s> PartialEq for StripStrIter<'s>
source§impl<'s> PartialEq for StripStrIter<'s>
source§fn eq(&self, other: &StripStrIter<'s>) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.source§impl<'s> Eq for StripStrIter<'s>
source§impl<'s> StructuralPartialEq for StripStrIter<'s>
Auto Trait Implementations§
§impl<'s> Freeze for StripStrIter<'s>
§impl<'s> RefUnwindSafe for StripStrIter<'s>
§impl<'s> Send for StripStrIter<'s>
§impl<'s> Sync for StripStrIter<'s>
§impl<'s> Unpin for StripStrIter<'s>
§impl<'s> !UnwindSafe for StripStrIter<'s>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/anstream/adapter/struct.StrippedBytes.html b/anstream/adapter/struct.StrippedBytes.html
index d9cd51d428..d49da482bb 100644
--- a/anstream/adapter/struct.StrippedBytes.html
+++ b/anstream/adapter/struct.StrippedBytes.html
@@ -1,4 +1,4 @@
-StrippedBytes in anstream::adapter - Rust Struct anstream::adapter::StrippedBytes
source · pub struct StrippedBytes<'s> { /* private fields */ }
Expand description
See strip_bytes
+StrippedBytes in anstream::adapter - Rust Struct anstream::adapter::StrippedBytes
source · pub struct StrippedBytes<'s> { /* private fields */ }
Expand description
See strip_bytes
Implementations§
source§impl<'s> StrippedBytes<'s>
sourcepub fn new(bytes: &'s [u8]) -> Self
See strip_bytes
sourcepub fn extend(&mut self, bytes: &'s [u8])
Strip the next slice of bytes
Used when the content is in several non-contiguous slices
@@ -150,7 +150,7 @@ §Panic
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,🔬This is a nightly-only experimental API. (iter_order_by
)Lexicographically compares the elements of this Iterator
with those
-of another with respect to the specified comparison function. Read more1.5.0 · source§fn eq<I>(self, other: I) -> boolwhere
+of another with respect to the specified comparison function. Read more
1.5.0 · source§fn eq<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are equal to those of
@@ -158,7 +158,7 @@ §Panic
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,🔬This is a nightly-only experimental API. (iter_order_by
)1.5.0 · source§fn ne<I>(self, other: I) -> boolwhere
+another with respect to the specified equality function. Read more
1.5.0 · source§fn ne<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are not equal to those of
@@ -184,8 +184,8 @@ §Panic
Self: Sized,
F: FnMut(Self::Item) -> K,
K: PartialOrd,🔬This is a nightly-only experimental API. (is_sorted
)Checks if the elements of this iterator are sorted using the given key extraction
-function. Read moresource§impl<'s> PartialEq for StrippedBytes<'s>
source§impl<'s> PartialEq for StrippedBytes<'s>
source§fn eq(&self, other: &StrippedBytes<'s>) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.source§impl<'s> Eq for StrippedBytes<'s>
source§impl<'s> StructuralPartialEq for StrippedBytes<'s>
Auto Trait Implementations§
§impl<'s> Freeze for StrippedBytes<'s>
§impl<'s> RefUnwindSafe for StrippedBytes<'s>
§impl<'s> Send for StrippedBytes<'s>
§impl<'s> Sync for StrippedBytes<'s>
§impl<'s> Unpin for StrippedBytes<'s>
§impl<'s> UnwindSafe for StrippedBytes<'s>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/anstream/adapter/struct.StrippedStr.html b/anstream/adapter/struct.StrippedStr.html
index 8cbe2d4558..91bd303f84 100644
--- a/anstream/adapter/struct.StrippedStr.html
+++ b/anstream/adapter/struct.StrippedStr.html
@@ -1,4 +1,4 @@
-StrippedStr in anstream::adapter - Rust Struct anstream::adapter::StrippedStr
source · pub struct StrippedStr<'s> { /* private fields */ }
Expand description
See strip_str
+StrippedStr in anstream::adapter - Rust Struct anstream::adapter::StrippedStr
source · pub struct StrippedStr<'s> { /* private fields */ }
Expand description
See strip_str
Implementations§
Trait Implementations§
source§impl<'s> Clone for StrippedStr<'s>
source§impl<'s> Debug for StrippedStr<'s>
source§impl<'s> Default for StrippedStr<'s>
source§impl<'s> Display for StrippedStr<'s>
source§impl<'s> Iterator for StrippedStr<'s>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
@@ -145,7 +145,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
🔬This is a nightly-only experimental API. (iter_order_by
)Lexicographically compares the elements of this Iterator
with those
-of another with respect to the specified comparison function. Read more1.5.0 · source§fn eq<I>(self, other: I) -> boolwhere
+of another with respect to the specified comparison function. Read more
1.5.0 · source§fn eq<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are equal to those of
@@ -153,7 +153,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,🔬This is a nightly-only experimental API. (iter_order_by
)1.5.0 · source§fn ne<I>(self, other: I) -> boolwhere
+another with respect to the specified equality function. Read more
1.5.0 · source§fn ne<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are not equal to those of
@@ -179,8 +179,8 @@
Self: Sized,
F: FnMut(Self::Item) -> K,
K: PartialOrd,🔬This is a nightly-only experimental API. (is_sorted
)Checks if the elements of this iterator are sorted using the given key extraction
-function. Read moresource§impl<'s> PartialEq for StrippedStr<'s>
source§impl<'s> PartialEq for StrippedStr<'s>
source§fn eq(&self, other: &StrippedStr<'s>) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.source§impl<'s> Eq for StrippedStr<'s>
source§impl<'s> StructuralPartialEq for StrippedStr<'s>
Auto Trait Implementations§
§impl<'s> Freeze for StrippedStr<'s>
§impl<'s> RefUnwindSafe for StrippedStr<'s>
§impl<'s> Send for StrippedStr<'s>
§impl<'s> Sync for StrippedStr<'s>
§impl<'s> Unpin for StrippedStr<'s>
§impl<'s> UnwindSafe for StrippedStr<'s>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/anstream/adapter/struct.WinconBytes.html b/anstream/adapter/struct.WinconBytes.html
index 69eaf0f63f..dae2e79899 100644
--- a/anstream/adapter/struct.WinconBytes.html
+++ b/anstream/adapter/struct.WinconBytes.html
@@ -1,4 +1,4 @@
-WinconBytes in anstream::adapter - Rust Struct anstream::adapter::WinconBytes
source · pub struct WinconBytes { /* private fields */ }
Expand description
Incrementally convert to wincon calls for non-contiguous data
+WinconBytes in anstream::adapter - Rust Struct anstream::adapter::WinconBytes
source · pub struct WinconBytes { /* private fields */ }
Expand description
Incrementally convert to wincon calls for non-contiguous data
Implementations§
source§impl WinconBytes
sourcepub fn extract_next<'s>(&'s mut self, bytes: &'s [u8]) -> WinconBytesIter<'s> ⓘ
Strip the next segment of data
Trait Implementations§
source§impl Clone for WinconBytes
source§fn clone(&self) -> WinconBytes
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for WinconBytes
source§impl Default for WinconBytes
source§fn default() -> WinconBytes
Returns the “default value” for a type. Read moresource§impl PartialEq for WinconBytes
source§fn eq(&self, other: &WinconBytes) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/anstream/adapter/struct.WinconBytesIter.html b/anstream/adapter/struct.WinconBytesIter.html
index 4be27d4f12..417f7b67c8 100644
--- a/anstream/adapter/struct.WinconBytesIter.html
+++ b/anstream/adapter/struct.WinconBytesIter.html
@@ -1,4 +1,4 @@
-WinconBytesIter in anstream::adapter - Rust Struct anstream::adapter::WinconBytesIter
source · pub struct WinconBytesIter<'s> { /* private fields */ }
Expand description
See WinconBytes
+WinconBytesIter in anstream::adapter - Rust Struct anstream::adapter::WinconBytesIter
source · pub struct WinconBytesIter<'s> { /* private fields */ }
Expand description
See WinconBytes
Trait Implementations§
source§impl<'s> Debug for WinconBytesIter<'s>
source§impl<'s> Iterator for WinconBytesIter<'s>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
diff --git a/anstream/all.html b/anstream/all.html
index d76e2d982e..3af88d5e02 100644
--- a/anstream/all.html
+++ b/anstream/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- AutoStream
- StripStream
- adapter::StripBytes
- adapter::StripBytesIter
- adapter::StripStr
- adapter::StripStrIter
- adapter::StrippedBytes
- adapter::StrippedStr
- adapter::WinconBytes
- adapter::WinconBytesIter
Enums
Traits
Macros
Functions
Type Aliases
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- AutoStream
- StripStream
- adapter::StripBytes
- adapter::StripBytesIter
- adapter::StripStr
- adapter::StripStrIter
- adapter::StrippedBytes
- adapter::StrippedStr
- adapter::WinconBytes
- adapter::WinconBytesIter
Enums
Traits
Macros
Functions
Type Aliases
\ No newline at end of file
diff --git a/anstream/enum.ColorChoice.html b/anstream/enum.ColorChoice.html
index 388a018d5c..ff06b2f3c6 100644
--- a/anstream/enum.ColorChoice.html
+++ b/anstream/enum.ColorChoice.html
@@ -1,4 +1,4 @@
-ColorChoice in anstream - Rust Enum anstream::ColorChoice
source · pub enum ColorChoice {
+ColorChoice in anstream - Rust Enum anstream::ColorChoice
source · pub enum ColorChoice {
Auto,
AlwaysAnsi,
Always,
diff --git a/anstream/fn.stderr.html b/anstream/fn.stderr.html
index 4e8d0f7d3c..e11555778f 100644
--- a/anstream/fn.stderr.html
+++ b/anstream/fn.stderr.html
@@ -1,4 +1,4 @@
-stderr in anstream - Rust pub fn stderr() -> Stderr
Expand description
Create an ANSI escape code compatible stderr
+stderr in anstream - Rust pub fn stderr() -> Stderr
Expand description
Create an ANSI escape code compatible stderr
Note: Call AutoStream::lock
in loops to avoid the performance hit of acquiring/releasing
from the implicit locking in each std::io::Write
call
\ No newline at end of file
diff --git a/anstream/fn.stdout.html b/anstream/fn.stdout.html
index 1a956275b5..cd5dea1ba5 100644
--- a/anstream/fn.stdout.html
+++ b/anstream/fn.stdout.html
@@ -1,4 +1,4 @@
-stdout in anstream - Rust pub fn stdout() -> Stdout
Expand description
Create an ANSI escape code compatible stdout
+stdout in anstream - Rust pub fn stdout() -> Stdout
Expand description
Create an ANSI escape code compatible stdout
Note: Call AutoStream::lock
in loops to avoid the performance hit of acquiring/releasing
from the implicit locking in each std::io::Write
call
\ No newline at end of file
diff --git a/anstream/index.html b/anstream/index.html
index c7d93ce4ac..9567305620 100644
--- a/anstream/index.html
+++ b/anstream/index.html
@@ -1,4 +1,4 @@
-anstream - Rust Expand description
Auto-adapting stdout
/ stderr
streams
+anstream - Rust Expand description
Auto-adapting stdout
/ stderr
streams
A portmanteau of “ansi stream”
AutoStream
always accepts ANSI escape codes,
adapting to the user’s terminal’s capabilities.
@@ -10,8 +10,7 @@
Available styling crates:
-- anstyle for minimal runtime styling, designed to go in public APIs
-(once it hits 1.0)
+- anstyle for minimal runtime styling, designed to go in public APIs
- owo-colors for feature-rich runtime styling
- color-print for feature-rich compile-time styling
diff --git a/anstream/macro.eprint.html b/anstream/macro.eprint.html
index e6ccc3d1aa..7f0281e382 100644
--- a/anstream/macro.eprint.html
+++ b/anstream/macro.eprint.html
@@ -1,4 +1,4 @@
-eprint in anstream - Rust macro_rules! eprint {
+eprint in anstream - Rust macro_rules! eprint {
($($arg:tt)*) => { ... };
}
Expand description
Prints to stderr
.
Equivalent to the print!
macro, except that output goes to
diff --git a/anstream/macro.eprintln.html b/anstream/macro.eprintln.html
index 74e26328b5..5618ba5c7f 100644
--- a/anstream/macro.eprintln.html
+++ b/anstream/macro.eprintln.html
@@ -1,4 +1,4 @@
-
eprintln in anstream - Rust macro_rules! eprintln {
+eprintln in anstream - Rust macro_rules! eprintln {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Prints to stderr
, with a newline.
diff --git a/anstream/macro.panic.html b/anstream/macro.panic.html
index 70bf915287..b743d62501 100644
--- a/anstream/macro.panic.html
+++ b/anstream/macro.panic.html
@@ -1,4 +1,4 @@
-panic in anstream - Rust macro_rules! panic {
+panic in anstream - Rust macro_rules! panic {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Panics the current thread.
diff --git a/anstream/macro.print.html b/anstream/macro.print.html
index 9a928d207f..f2508dd5dc 100644
--- a/anstream/macro.print.html
+++ b/anstream/macro.print.html
@@ -1,4 +1,4 @@
-print in anstream - Rust macro_rules! print {
+print in anstream - Rust macro_rules! print {
($($arg:tt)*) => { ... };
}
Expand description
Prints to stdout
.
Equivalent to the println!
macro except that a newline is not printed at
diff --git a/anstream/macro.println.html b/anstream/macro.println.html
index 9fc15320e4..01efd4eee9 100644
--- a/anstream/macro.println.html
+++ b/anstream/macro.println.html
@@ -1,4 +1,4 @@
-
println in anstream - Rust macro_rules! println {
+println in anstream - Rust macro_rules! println {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Prints to stdout
, with a newline.
diff --git a/anstream/stream/index.html b/anstream/stream/index.html
index aca666e54a..524cc2c956 100644
--- a/anstream/stream/index.html
+++ b/anstream/stream/index.html
@@ -1,2 +1,2 @@
-anstream::stream - Rust Expand description
Higher-level traits to describe writeable streams
+anstream::stream - Rust Expand description
Higher-level traits to describe writeable streams
Traits§
- Lock a stream
- Trait to determine if a descriptor/handle refers to a terminal/tty.
- Required functionality for underlying
std::io::Write
for adaptation
\ No newline at end of file
diff --git a/anstream/stream/trait.AsLockedWrite.html b/anstream/stream/trait.AsLockedWrite.html
index cf5ffd5825..0e6a1ed474 100644
--- a/anstream/stream/trait.AsLockedWrite.html
+++ b/anstream/stream/trait.AsLockedWrite.html
@@ -1,4 +1,4 @@
-AsLockedWrite in anstream::stream - Rust Trait anstream::stream::AsLockedWrite
source · pub trait AsLockedWrite: Sealed {
+AsLockedWrite in anstream::stream - Rust Trait anstream::stream::AsLockedWrite
source · pub trait AsLockedWrite: Sealed {
type Write<'w>: RawStream + 'w
where Self: 'w;
diff --git a/anstream/stream/trait.IsTerminal.html b/anstream/stream/trait.IsTerminal.html
index b10efa128c..e2733cda53 100644
--- a/anstream/stream/trait.IsTerminal.html
+++ b/anstream/stream/trait.IsTerminal.html
@@ -1,6 +1,6 @@
-IsTerminal in anstream::stream - Rust Trait anstream::stream::IsTerminal
source · pub trait IsTerminal: Sealed {
+IsTerminal in anstream::stream - Rust Trait anstream::stream::IsTerminal
source · pub trait IsTerminal: Sealed {
// Required method
fn is_terminal(&self) -> bool;
}
Expand description
Trait to determine if a descriptor/handle refers to a terminal/tty.
Required Methods§
sourcefn is_terminal(&self) -> bool
Returns true
if the descriptor/handle refers to a terminal/tty.
-Implementations on Foreign Types§
source§impl IsTerminal for &mut Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StdoutLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stderr
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stdout
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StdoutLock<'_>
source§fn is_terminal(&self) -> bool
Implementors§
\ No newline at end of file
+
Implementations on Foreign Types§
source§impl IsTerminal for &mut Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StdoutLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stderr
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stdout
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StdoutLock<'_>
source§fn is_terminal(&self) -> bool
Implementors§
\ No newline at end of file
diff --git a/anstream/stream/trait.RawStream.html b/anstream/stream/trait.RawStream.html
index 6043a90163..331f33503e 100644
--- a/anstream/stream/trait.RawStream.html
+++ b/anstream/stream/trait.RawStream.html
@@ -1,2 +1,2 @@
-RawStream in anstream::stream - Rust pub trait RawStream: Write + IsTerminal + Sealed { }
Expand description
Required functionality for underlying std::io::Write
for adaptation
+RawStream in anstream::stream - Rust pub trait RawStream: Write + IsTerminal + Sealed { }
Expand description
Required functionality for underlying std::io::Write
for adaptation
Implementations on Foreign Types§
source§impl RawStream for &mut Box<dyn Write>
source§impl RawStream for &mut Vec<u8>
source§impl RawStream for &mut File
source§impl RawStream for &mut StderrLock<'_>
source§impl RawStream for &mut StdoutLock<'_>
source§impl RawStream for Box<dyn Write>
source§impl RawStream for Vec<u8>
source§impl RawStream for File
source§impl RawStream for Stderr
source§impl RawStream for StderrLock<'_>
source§impl RawStream for Stdout
source§impl RawStream for StdoutLock<'_>
Implementors§
\ No newline at end of file
diff --git a/anstream/struct.AutoStream.html b/anstream/struct.AutoStream.html
index 068b27433f..d107eee69b 100644
--- a/anstream/struct.AutoStream.html
+++ b/anstream/struct.AutoStream.html
@@ -1,4 +1,4 @@
-AutoStream in anstream - Rust Struct anstream::AutoStream
source · pub struct AutoStream<S: RawStream> { /* private fields */ }
Expand description
std::io::Write
that adapts ANSI escape codes to the underlying Write
s capabilities
+AutoStream in anstream - Rust Struct anstream::AutoStream
source · pub struct AutoStream<S: RawStream> { /* private fields */ }
Expand description
std::io::Write
that adapts ANSI escape codes to the underlying Write
s capabilities
This includes
- Stripping colors for non-terminals
diff --git a/anstream/struct.StripStream.html b/anstream/struct.StripStream.html
index 83c249d9f9..00e5edf8ac 100644
--- a/anstream/struct.StripStream.html
+++ b/anstream/struct.StripStream.html
@@ -1,4 +1,4 @@
-StripStream in anstream - Rust Struct anstream::StripStream
source · pub struct StripStream<S>where
+StripStream in anstream - Rust Struct anstream::StripStream
source · pub struct StripStream<S>where
S: Write,{ /* private fields */ }
Expand description
Only pass printable data to the inner Write
Implementations§
source§impl<S> StripStream<S>where
S: Write,
impl<T> BorrowMut<T> for Twhere
diff --git a/anstream/adapter/struct.StripStr.html b/anstream/adapter/struct.StripStr.html
index dfbffb5839..0090e931d0 100644
--- a/anstream/adapter/struct.StripStr.html
+++ b/anstream/adapter/struct.StripStr.html
@@ -1,4 +1,4 @@
-StripStr in anstream::adapter - Rust pub struct StripStr { /* private fields */ }
Expand description
Incrementally strip non-contiguous data
+StripStr in anstream::adapter - Rust pub struct StripStr { /* private fields */ }
Expand description
Incrementally strip non-contiguous data
Implementations§
source§impl StripStr
sourcepub fn strip_next<'s>(&'s mut self, data: &'s str) -> StripStrIter<'s> ⓘ
Strip the next segment of data
Trait Implementations§
source§impl PartialEq for StripStr
source§fn eq(&self, other: &StripStr) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/anstream/adapter/struct.StripStrIter.html b/anstream/adapter/struct.StripStrIter.html
index 5539e6ced6..8a6822c5ae 100644
--- a/anstream/adapter/struct.StripStrIter.html
+++ b/anstream/adapter/struct.StripStrIter.html
@@ -1,4 +1,4 @@
-StripStrIter in anstream::adapter - Rust Struct anstream::adapter::StripStrIter
source · pub struct StripStrIter<'s> { /* private fields */ }
Expand description
See StripStr
+StripStrIter in anstream::adapter - Rust Struct anstream::adapter::StripStrIter
source · pub struct StripStrIter<'s> { /* private fields */ }
Expand description
See StripStr
Trait Implementations§
source§impl<'s> Debug for StripStrIter<'s>
source§impl<'s> Iterator for StripStrIter<'s>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
@@ -142,7 +142,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
🔬This is a nightly-only experimental API. (iter_order_by
)Lexicographically compares the elements of this Iterator
with those
-of another with respect to the specified comparison function. Read more1.5.0 · source§fn eq<I>(self, other: I) -> boolwhere
+of another with respect to the specified comparison function. Read more
1.5.0 · source§fn eq<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are equal to those of
@@ -150,7 +150,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,🔬This is a nightly-only experimental API. (iter_order_by
)1.5.0 · source§fn ne<I>(self, other: I) -> boolwhere
+another with respect to the specified equality function. Read more
1.5.0 · source§fn ne<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are not equal to those of
@@ -176,8 +176,8 @@
Self: Sized,
F: FnMut(Self::Item) -> K,
K: PartialOrd,🔬This is a nightly-only experimental API. (is_sorted
)Checks if the elements of this iterator are sorted using the given key extraction
-function. Read moresource§impl<'s> PartialEq for StripStrIter<'s>
source§impl<'s> PartialEq for StripStrIter<'s>
source§fn eq(&self, other: &StripStrIter<'s>) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.source§impl<'s> Eq for StripStrIter<'s>
source§impl<'s> StructuralPartialEq for StripStrIter<'s>
Auto Trait Implementations§
§impl<'s> Freeze for StripStrIter<'s>
§impl<'s> RefUnwindSafe for StripStrIter<'s>
§impl<'s> Send for StripStrIter<'s>
§impl<'s> Sync for StripStrIter<'s>
§impl<'s> Unpin for StripStrIter<'s>
§impl<'s> !UnwindSafe for StripStrIter<'s>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/anstream/adapter/struct.StrippedBytes.html b/anstream/adapter/struct.StrippedBytes.html
index d9cd51d428..d49da482bb 100644
--- a/anstream/adapter/struct.StrippedBytes.html
+++ b/anstream/adapter/struct.StrippedBytes.html
@@ -1,4 +1,4 @@
-StrippedBytes in anstream::adapter - Rust Struct anstream::adapter::StrippedBytes
source · pub struct StrippedBytes<'s> { /* private fields */ }
Expand description
See strip_bytes
+StrippedBytes in anstream::adapter - Rust Struct anstream::adapter::StrippedBytes
source · pub struct StrippedBytes<'s> { /* private fields */ }
Expand description
See strip_bytes
Implementations§
source§impl<'s> StrippedBytes<'s>
sourcepub fn new(bytes: &'s [u8]) -> Self
See strip_bytes
sourcepub fn extend(&mut self, bytes: &'s [u8])
Strip the next slice of bytes
Used when the content is in several non-contiguous slices
@@ -150,7 +150,7 @@ §Panic
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,🔬This is a nightly-only experimental API. (iter_order_by
)Lexicographically compares the elements of this Iterator
with those
-of another with respect to the specified comparison function. Read more1.5.0 · source§fn eq<I>(self, other: I) -> boolwhere
+of another with respect to the specified comparison function. Read more
1.5.0 · source§fn eq<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are equal to those of
@@ -158,7 +158,7 @@ §Panic
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,🔬This is a nightly-only experimental API. (iter_order_by
)1.5.0 · source§fn ne<I>(self, other: I) -> boolwhere
+another with respect to the specified equality function. Read more
1.5.0 · source§fn ne<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are not equal to those of
@@ -184,8 +184,8 @@ §Panic
Self: Sized,
F: FnMut(Self::Item) -> K,
K: PartialOrd,🔬This is a nightly-only experimental API. (is_sorted
)Checks if the elements of this iterator are sorted using the given key extraction
-function. Read moresource§impl<'s> PartialEq for StrippedBytes<'s>
source§impl<'s> PartialEq for StrippedBytes<'s>
source§fn eq(&self, other: &StrippedBytes<'s>) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.source§impl<'s> Eq for StrippedBytes<'s>
source§impl<'s> StructuralPartialEq for StrippedBytes<'s>
Auto Trait Implementations§
§impl<'s> Freeze for StrippedBytes<'s>
§impl<'s> RefUnwindSafe for StrippedBytes<'s>
§impl<'s> Send for StrippedBytes<'s>
§impl<'s> Sync for StrippedBytes<'s>
§impl<'s> Unpin for StrippedBytes<'s>
§impl<'s> UnwindSafe for StrippedBytes<'s>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/anstream/adapter/struct.StrippedStr.html b/anstream/adapter/struct.StrippedStr.html
index 8cbe2d4558..91bd303f84 100644
--- a/anstream/adapter/struct.StrippedStr.html
+++ b/anstream/adapter/struct.StrippedStr.html
@@ -1,4 +1,4 @@
-StrippedStr in anstream::adapter - Rust Struct anstream::adapter::StrippedStr
source · pub struct StrippedStr<'s> { /* private fields */ }
Expand description
See strip_str
+StrippedStr in anstream::adapter - Rust Struct anstream::adapter::StrippedStr
source · pub struct StrippedStr<'s> { /* private fields */ }
Expand description
See strip_str
Implementations§
Trait Implementations§
source§impl<'s> Clone for StrippedStr<'s>
source§impl<'s> Debug for StrippedStr<'s>
source§impl<'s> Default for StrippedStr<'s>
source§impl<'s> Display for StrippedStr<'s>
source§impl<'s> Iterator for StrippedStr<'s>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
@@ -145,7 +145,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
🔬This is a nightly-only experimental API. (iter_order_by
)Lexicographically compares the elements of this Iterator
with those
-of another with respect to the specified comparison function. Read more1.5.0 · source§fn eq<I>(self, other: I) -> boolwhere
+of another with respect to the specified comparison function. Read more
1.5.0 · source§fn eq<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are equal to those of
@@ -153,7 +153,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,🔬This is a nightly-only experimental API. (iter_order_by
)1.5.0 · source§fn ne<I>(self, other: I) -> boolwhere
+another with respect to the specified equality function. Read more
1.5.0 · source§fn ne<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are not equal to those of
@@ -179,8 +179,8 @@
Self: Sized,
F: FnMut(Self::Item) -> K,
K: PartialOrd,🔬This is a nightly-only experimental API. (is_sorted
)Checks if the elements of this iterator are sorted using the given key extraction
-function. Read moresource§impl<'s> PartialEq for StrippedStr<'s>
source§impl<'s> PartialEq for StrippedStr<'s>
source§fn eq(&self, other: &StrippedStr<'s>) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.source§impl<'s> Eq for StrippedStr<'s>
source§impl<'s> StructuralPartialEq for StrippedStr<'s>
Auto Trait Implementations§
§impl<'s> Freeze for StrippedStr<'s>
§impl<'s> RefUnwindSafe for StrippedStr<'s>
§impl<'s> Send for StrippedStr<'s>
§impl<'s> Sync for StrippedStr<'s>
§impl<'s> Unpin for StrippedStr<'s>
§impl<'s> UnwindSafe for StrippedStr<'s>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/anstream/adapter/struct.WinconBytes.html b/anstream/adapter/struct.WinconBytes.html
index 69eaf0f63f..dae2e79899 100644
--- a/anstream/adapter/struct.WinconBytes.html
+++ b/anstream/adapter/struct.WinconBytes.html
@@ -1,4 +1,4 @@
-WinconBytes in anstream::adapter - Rust Struct anstream::adapter::WinconBytes
source · pub struct WinconBytes { /* private fields */ }
Expand description
Incrementally convert to wincon calls for non-contiguous data
+WinconBytes in anstream::adapter - Rust Struct anstream::adapter::WinconBytes
source · pub struct WinconBytes { /* private fields */ }
Expand description
Incrementally convert to wincon calls for non-contiguous data
Implementations§
source§impl WinconBytes
sourcepub fn extract_next<'s>(&'s mut self, bytes: &'s [u8]) -> WinconBytesIter<'s> ⓘ
Strip the next segment of data
Trait Implementations§
source§impl Clone for WinconBytes
source§fn clone(&self) -> WinconBytes
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for WinconBytes
source§impl Default for WinconBytes
source§fn default() -> WinconBytes
Returns the “default value” for a type. Read moresource§impl PartialEq for WinconBytes
source§fn eq(&self, other: &WinconBytes) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/anstream/adapter/struct.WinconBytesIter.html b/anstream/adapter/struct.WinconBytesIter.html
index 4be27d4f12..417f7b67c8 100644
--- a/anstream/adapter/struct.WinconBytesIter.html
+++ b/anstream/adapter/struct.WinconBytesIter.html
@@ -1,4 +1,4 @@
-WinconBytesIter in anstream::adapter - Rust Struct anstream::adapter::WinconBytesIter
source · pub struct WinconBytesIter<'s> { /* private fields */ }
Expand description
See WinconBytes
+WinconBytesIter in anstream::adapter - Rust Struct anstream::adapter::WinconBytesIter
source · pub struct WinconBytesIter<'s> { /* private fields */ }
Expand description
See WinconBytes
Trait Implementations§
source§impl<'s> Debug for WinconBytesIter<'s>
source§impl<'s> Iterator for WinconBytesIter<'s>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
diff --git a/anstream/all.html b/anstream/all.html
index d76e2d982e..3af88d5e02 100644
--- a/anstream/all.html
+++ b/anstream/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- AutoStream
- StripStream
- adapter::StripBytes
- adapter::StripBytesIter
- adapter::StripStr
- adapter::StripStrIter
- adapter::StrippedBytes
- adapter::StrippedStr
- adapter::WinconBytes
- adapter::WinconBytesIter
Enums
Traits
Macros
Functions
Type Aliases
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- AutoStream
- StripStream
- adapter::StripBytes
- adapter::StripBytesIter
- adapter::StripStr
- adapter::StripStrIter
- adapter::StrippedBytes
- adapter::StrippedStr
- adapter::WinconBytes
- adapter::WinconBytesIter
Enums
Traits
Macros
Functions
Type Aliases
\ No newline at end of file
diff --git a/anstream/enum.ColorChoice.html b/anstream/enum.ColorChoice.html
index 388a018d5c..ff06b2f3c6 100644
--- a/anstream/enum.ColorChoice.html
+++ b/anstream/enum.ColorChoice.html
@@ -1,4 +1,4 @@
-ColorChoice in anstream - Rust Enum anstream::ColorChoice
source · pub enum ColorChoice {
+ColorChoice in anstream - Rust Enum anstream::ColorChoice
source · pub enum ColorChoice {
Auto,
AlwaysAnsi,
Always,
diff --git a/anstream/fn.stderr.html b/anstream/fn.stderr.html
index 4e8d0f7d3c..e11555778f 100644
--- a/anstream/fn.stderr.html
+++ b/anstream/fn.stderr.html
@@ -1,4 +1,4 @@
-stderr in anstream - Rust pub fn stderr() -> Stderr
Expand description
Create an ANSI escape code compatible stderr
+stderr in anstream - Rust pub fn stderr() -> Stderr
Expand description
Create an ANSI escape code compatible stderr
Note: Call AutoStream::lock
in loops to avoid the performance hit of acquiring/releasing
from the implicit locking in each std::io::Write
call
\ No newline at end of file
diff --git a/anstream/fn.stdout.html b/anstream/fn.stdout.html
index 1a956275b5..cd5dea1ba5 100644
--- a/anstream/fn.stdout.html
+++ b/anstream/fn.stdout.html
@@ -1,4 +1,4 @@
-stdout in anstream - Rust pub fn stdout() -> Stdout
Expand description
Create an ANSI escape code compatible stdout
+stdout in anstream - Rust pub fn stdout() -> Stdout
Expand description
Create an ANSI escape code compatible stdout
Note: Call AutoStream::lock
in loops to avoid the performance hit of acquiring/releasing
from the implicit locking in each std::io::Write
call
\ No newline at end of file
diff --git a/anstream/index.html b/anstream/index.html
index c7d93ce4ac..9567305620 100644
--- a/anstream/index.html
+++ b/anstream/index.html
@@ -1,4 +1,4 @@
-anstream - Rust Expand description
Auto-adapting stdout
/ stderr
streams
+anstream - Rust Expand description
Auto-adapting stdout
/ stderr
streams
A portmanteau of “ansi stream”
AutoStream
always accepts ANSI escape codes,
adapting to the user’s terminal’s capabilities.
@@ -10,8 +10,7 @@
Available styling crates:
-- anstyle for minimal runtime styling, designed to go in public APIs
-(once it hits 1.0)
+- anstyle for minimal runtime styling, designed to go in public APIs
- owo-colors for feature-rich runtime styling
- color-print for feature-rich compile-time styling
diff --git a/anstream/macro.eprint.html b/anstream/macro.eprint.html
index e6ccc3d1aa..7f0281e382 100644
--- a/anstream/macro.eprint.html
+++ b/anstream/macro.eprint.html
@@ -1,4 +1,4 @@
-eprint in anstream - Rust macro_rules! eprint {
+eprint in anstream - Rust macro_rules! eprint {
($($arg:tt)*) => { ... };
}
Expand description
Prints to stderr
.
Equivalent to the print!
macro, except that output goes to
diff --git a/anstream/macro.eprintln.html b/anstream/macro.eprintln.html
index 74e26328b5..5618ba5c7f 100644
--- a/anstream/macro.eprintln.html
+++ b/anstream/macro.eprintln.html
@@ -1,4 +1,4 @@
-
eprintln in anstream - Rust macro_rules! eprintln {
+eprintln in anstream - Rust macro_rules! eprintln {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Prints to stderr
, with a newline.
diff --git a/anstream/macro.panic.html b/anstream/macro.panic.html
index 70bf915287..b743d62501 100644
--- a/anstream/macro.panic.html
+++ b/anstream/macro.panic.html
@@ -1,4 +1,4 @@
-panic in anstream - Rust macro_rules! panic {
+panic in anstream - Rust macro_rules! panic {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Panics the current thread.
diff --git a/anstream/macro.print.html b/anstream/macro.print.html
index 9a928d207f..f2508dd5dc 100644
--- a/anstream/macro.print.html
+++ b/anstream/macro.print.html
@@ -1,4 +1,4 @@
-print in anstream - Rust macro_rules! print {
+print in anstream - Rust macro_rules! print {
($($arg:tt)*) => { ... };
}
Expand description
Prints to stdout
.
Equivalent to the println!
macro except that a newline is not printed at
diff --git a/anstream/macro.println.html b/anstream/macro.println.html
index 9fc15320e4..01efd4eee9 100644
--- a/anstream/macro.println.html
+++ b/anstream/macro.println.html
@@ -1,4 +1,4 @@
-
println in anstream - Rust macro_rules! println {
+println in anstream - Rust macro_rules! println {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Prints to stdout
, with a newline.
diff --git a/anstream/stream/index.html b/anstream/stream/index.html
index aca666e54a..524cc2c956 100644
--- a/anstream/stream/index.html
+++ b/anstream/stream/index.html
@@ -1,2 +1,2 @@
-anstream::stream - Rust Expand description
Higher-level traits to describe writeable streams
+anstream::stream - Rust Expand description
Higher-level traits to describe writeable streams
Traits§
- Lock a stream
- Trait to determine if a descriptor/handle refers to a terminal/tty.
- Required functionality for underlying
std::io::Write
for adaptation
\ No newline at end of file
diff --git a/anstream/stream/trait.AsLockedWrite.html b/anstream/stream/trait.AsLockedWrite.html
index cf5ffd5825..0e6a1ed474 100644
--- a/anstream/stream/trait.AsLockedWrite.html
+++ b/anstream/stream/trait.AsLockedWrite.html
@@ -1,4 +1,4 @@
-AsLockedWrite in anstream::stream - Rust Trait anstream::stream::AsLockedWrite
source · pub trait AsLockedWrite: Sealed {
+AsLockedWrite in anstream::stream - Rust Trait anstream::stream::AsLockedWrite
source · pub trait AsLockedWrite: Sealed {
type Write<'w>: RawStream + 'w
where Self: 'w;
diff --git a/anstream/stream/trait.IsTerminal.html b/anstream/stream/trait.IsTerminal.html
index b10efa128c..e2733cda53 100644
--- a/anstream/stream/trait.IsTerminal.html
+++ b/anstream/stream/trait.IsTerminal.html
@@ -1,6 +1,6 @@
-IsTerminal in anstream::stream - Rust Trait anstream::stream::IsTerminal
source · pub trait IsTerminal: Sealed {
+IsTerminal in anstream::stream - Rust Trait anstream::stream::IsTerminal
source · pub trait IsTerminal: Sealed {
// Required method
fn is_terminal(&self) -> bool;
}
Expand description
Trait to determine if a descriptor/handle refers to a terminal/tty.
Required Methods§
sourcefn is_terminal(&self) -> bool
Returns true
if the descriptor/handle refers to a terminal/tty.
-Implementations on Foreign Types§
source§impl IsTerminal for &mut Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StdoutLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stderr
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stdout
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StdoutLock<'_>
source§fn is_terminal(&self) -> bool
Implementors§
\ No newline at end of file
+
Implementations on Foreign Types§
source§impl IsTerminal for &mut Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StdoutLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stderr
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stdout
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StdoutLock<'_>
source§fn is_terminal(&self) -> bool
Implementors§
\ No newline at end of file
diff --git a/anstream/stream/trait.RawStream.html b/anstream/stream/trait.RawStream.html
index 6043a90163..331f33503e 100644
--- a/anstream/stream/trait.RawStream.html
+++ b/anstream/stream/trait.RawStream.html
@@ -1,2 +1,2 @@
-RawStream in anstream::stream - Rust pub trait RawStream: Write + IsTerminal + Sealed { }
Expand description
Required functionality for underlying std::io::Write
for adaptation
+RawStream in anstream::stream - Rust pub trait RawStream: Write + IsTerminal + Sealed { }
Expand description
Required functionality for underlying std::io::Write
for adaptation
Implementations on Foreign Types§
source§impl RawStream for &mut Box<dyn Write>
source§impl RawStream for &mut Vec<u8>
source§impl RawStream for &mut File
source§impl RawStream for &mut StderrLock<'_>
source§impl RawStream for &mut StdoutLock<'_>
source§impl RawStream for Box<dyn Write>
source§impl RawStream for Vec<u8>
source§impl RawStream for File
source§impl RawStream for Stderr
source§impl RawStream for StderrLock<'_>
source§impl RawStream for Stdout
source§impl RawStream for StdoutLock<'_>
Implementors§
\ No newline at end of file
diff --git a/anstream/struct.AutoStream.html b/anstream/struct.AutoStream.html
index 068b27433f..d107eee69b 100644
--- a/anstream/struct.AutoStream.html
+++ b/anstream/struct.AutoStream.html
@@ -1,4 +1,4 @@
-AutoStream in anstream - Rust Struct anstream::AutoStream
source · pub struct AutoStream<S: RawStream> { /* private fields */ }
Expand description
std::io::Write
that adapts ANSI escape codes to the underlying Write
s capabilities
+AutoStream in anstream - Rust Struct anstream::AutoStream
source · pub struct AutoStream<S: RawStream> { /* private fields */ }
Expand description
std::io::Write
that adapts ANSI escape codes to the underlying Write
s capabilities
This includes
- Stripping colors for non-terminals
diff --git a/anstream/struct.StripStream.html b/anstream/struct.StripStream.html
index 83c249d9f9..00e5edf8ac 100644
--- a/anstream/struct.StripStream.html
+++ b/anstream/struct.StripStream.html
@@ -1,4 +1,4 @@
-StripStream in anstream - Rust Struct anstream::StripStream
source · pub struct StripStream<S>where
+StripStream in anstream - Rust Struct anstream::StripStream
source · pub struct StripStream<S>where
S: Write,{ /* private fields */ }
Expand description
Only pass printable data to the inner Write
Implementations§
source§impl<S> StripStream<S>where
S: Write,
pub struct StripStr { /* private fields */ }
Expand description
Incrementally strip non-contiguous data
+pub struct StripStr { /* private fields */ }
Expand description
Incrementally strip non-contiguous data
Implementations§
source§impl StripStr
impl StripStr
sourcepub fn strip_next<'s>(&'s mut self, data: &'s str) -> StripStrIter<'s> ⓘ
pub fn strip_next<'s>(&'s mut self, data: &'s str) -> StripStrIter<'s> ⓘ
Strip the next segment of data
Trait Implementations§
source§impl PartialEq for StripStr
impl PartialEq for StripStr
source§fn eq(&self, other: &StripStr) -> bool
fn eq(&self, other: &StripStr) -> bool
self
and other
values to be equal, and is used
diff --git a/anstream/adapter/struct.StripStrIter.html b/anstream/adapter/struct.StripStrIter.html
index 5539e6ced6..8a6822c5ae 100644
--- a/anstream/adapter/struct.StripStrIter.html
+++ b/anstream/adapter/struct.StripStrIter.html
@@ -1,4 +1,4 @@
-Struct anstream::adapter::StripStrIter
source · pub struct StripStrIter<'s> { /* private fields */ }
Expand description
See StripStr
Struct anstream::adapter::StripStrIter
source · pub struct StripStrIter<'s> { /* private fields */ }
Expand description
See StripStr
Trait Implementations§
source§impl<'s> Debug for StripStrIter<'s>
impl<'s> Debug for StripStrIter<'s>
source§impl<'s> Iterator for StripStrIter<'s>
impl<'s> Iterator for StripStrIter<'s>
source§fn next(&mut self) -> Option<Self::Item>
fn next(&mut self) -> Option<Self::Item>
source§fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
@@ -142,7 +142,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
@@ -142,7 +142,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
iter_order_by
)Iterator
with those
-of another with respect to the specified comparison function. Read more1.5.0 · source§fn eq<I>(self, other: I) -> boolwhere
+of another with respect to the specified comparison function. Read more
fn eq<I>(self, other: I) -> boolwhere
+of another with respect to the specified comparison function. Read more
1.5.0 · source§fn eq<I>(self, other: I) -> bool
fn eq<I>(self, other: I) -> bool
Iterator
are equal to those of
@@ -150,7 +150,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,iter_order_by
)1.5.0 · source§fn ne<I>(self, other: I) -> boolwhere
+another with respect to the specified equality function. Read more
fn ne<I>(self, other: I) -> boolwhere
+another with respect to the specified equality function. Read more
1.5.0 · source§fn ne<I>(self, other: I) -> bool
fn ne<I>(self, other: I) -> bool
Iterator
are not equal to those of
@@ -176,8 +176,8 @@
Self: Sized,
F: FnMut(Self::Item) -> K,
K: PartialOrd,is_sorted
)source§impl<'s> PartialEq for StripStrIter<'s>
impl<'s> PartialEq for StripStrIter<'s>
source§impl<'s> PartialEq for StripStrIter<'s>
impl<'s> PartialEq for StripStrIter<'s>
source§fn eq(&self, other: &StripStrIter<'s>) -> bool
fn eq(&self, other: &StripStrIter<'s>) -> bool
self
and other
values to be equal, and is used
+by ==
.impl<'s> Eq for StripStrIter<'s>
impl<'s> StructuralPartialEq for StripStrIter<'s>
Auto Trait Implementations§
impl<'s> Freeze for StripStrIter<'s>
impl<'s> RefUnwindSafe for StripStrIter<'s>
impl<'s> Send for StripStrIter<'s>
impl<'s> Sync for StripStrIter<'s>
impl<'s> Unpin for StripStrIter<'s>
impl<'s> !UnwindSafe for StripStrIter<'s>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/anstream/adapter/struct.StrippedBytes.html b/anstream/adapter/struct.StrippedBytes.html
index d9cd51d428..d49da482bb 100644
--- a/anstream/adapter/struct.StrippedBytes.html
+++ b/anstream/adapter/struct.StrippedBytes.html
@@ -1,4 +1,4 @@
-StrippedBytes in anstream::adapter - Rust Struct anstream::adapter::StrippedBytes
source · pub struct StrippedBytes<'s> { /* private fields */ }
Expand description
See strip_bytes
+StrippedBytes in anstream::adapter - Rust Struct anstream::adapter::StrippedBytes
source · pub struct StrippedBytes<'s> { /* private fields */ }
Expand description
See strip_bytes
Implementations§
source§impl<'s> StrippedBytes<'s>
sourcepub fn new(bytes: &'s [u8]) -> Self
See strip_bytes
sourcepub fn extend(&mut self, bytes: &'s [u8])
Strip the next slice of bytes
Used when the content is in several non-contiguous slices
@@ -150,7 +150,7 @@ §Panic
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,🔬This is a nightly-only experimental API. (iter_order_by
)Lexicographically compares the elements of this Iterator
with those
-of another with respect to the specified comparison function. Read more1.5.0 · source§fn eq<I>(self, other: I) -> boolwhere
+of another with respect to the specified comparison function. Read more
1.5.0 · source§fn eq<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are equal to those of
@@ -158,7 +158,7 @@ §Panic
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,🔬This is a nightly-only experimental API. (iter_order_by
)1.5.0 · source§fn ne<I>(self, other: I) -> boolwhere
+another with respect to the specified equality function. Read more
1.5.0 · source§fn ne<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are not equal to those of
@@ -184,8 +184,8 @@ §Panic
Self: Sized,
F: FnMut(Self::Item) -> K,
K: PartialOrd,🔬This is a nightly-only experimental API. (is_sorted
)Checks if the elements of this iterator are sorted using the given key extraction
-function. Read moresource§impl<'s> PartialEq for StrippedBytes<'s>
source§impl<'s> PartialEq for StrippedBytes<'s>
source§fn eq(&self, other: &StrippedBytes<'s>) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.source§impl<'s> Eq for StrippedBytes<'s>
source§impl<'s> StructuralPartialEq for StrippedBytes<'s>
Auto Trait Implementations§
§impl<'s> Freeze for StrippedBytes<'s>
§impl<'s> RefUnwindSafe for StrippedBytes<'s>
§impl<'s> Send for StrippedBytes<'s>
§impl<'s> Sync for StrippedBytes<'s>
§impl<'s> Unpin for StrippedBytes<'s>
§impl<'s> UnwindSafe for StrippedBytes<'s>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/anstream/adapter/struct.StrippedStr.html b/anstream/adapter/struct.StrippedStr.html
index 8cbe2d4558..91bd303f84 100644
--- a/anstream/adapter/struct.StrippedStr.html
+++ b/anstream/adapter/struct.StrippedStr.html
@@ -1,4 +1,4 @@
-StrippedStr in anstream::adapter - Rust Struct anstream::adapter::StrippedStr
source · pub struct StrippedStr<'s> { /* private fields */ }
Expand description
See strip_str
+StrippedStr in anstream::adapter - Rust Struct anstream::adapter::StrippedStr
source · pub struct StrippedStr<'s> { /* private fields */ }
Expand description
See strip_str
Implementations§
Trait Implementations§
source§impl<'s> Clone for StrippedStr<'s>
source§impl<'s> Debug for StrippedStr<'s>
source§impl<'s> Default for StrippedStr<'s>
source§impl<'s> Display for StrippedStr<'s>
source§impl<'s> Iterator for StrippedStr<'s>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
@@ -145,7 +145,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
🔬This is a nightly-only experimental API. (iter_order_by
)Lexicographically compares the elements of this Iterator
with those
-of another with respect to the specified comparison function. Read more1.5.0 · source§fn eq<I>(self, other: I) -> boolwhere
+of another with respect to the specified comparison function. Read more
1.5.0 · source§fn eq<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are equal to those of
@@ -153,7 +153,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,🔬This is a nightly-only experimental API. (iter_order_by
)1.5.0 · source§fn ne<I>(self, other: I) -> boolwhere
+another with respect to the specified equality function. Read more
1.5.0 · source§fn ne<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are not equal to those of
@@ -179,8 +179,8 @@
Self: Sized,
F: FnMut(Self::Item) -> K,
K: PartialOrd,🔬This is a nightly-only experimental API. (is_sorted
)Checks if the elements of this iterator are sorted using the given key extraction
-function. Read moresource§impl<'s> PartialEq for StrippedStr<'s>
source§impl<'s> PartialEq for StrippedStr<'s>
source§fn eq(&self, other: &StrippedStr<'s>) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.source§impl<'s> Eq for StrippedStr<'s>
source§impl<'s> StructuralPartialEq for StrippedStr<'s>
Auto Trait Implementations§
§impl<'s> Freeze for StrippedStr<'s>
§impl<'s> RefUnwindSafe for StrippedStr<'s>
§impl<'s> Send for StrippedStr<'s>
§impl<'s> Sync for StrippedStr<'s>
§impl<'s> Unpin for StrippedStr<'s>
§impl<'s> UnwindSafe for StrippedStr<'s>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/anstream/adapter/struct.WinconBytes.html b/anstream/adapter/struct.WinconBytes.html
index 69eaf0f63f..dae2e79899 100644
--- a/anstream/adapter/struct.WinconBytes.html
+++ b/anstream/adapter/struct.WinconBytes.html
@@ -1,4 +1,4 @@
-WinconBytes in anstream::adapter - Rust Struct anstream::adapter::WinconBytes
source · pub struct WinconBytes { /* private fields */ }
Expand description
Incrementally convert to wincon calls for non-contiguous data
+WinconBytes in anstream::adapter - Rust Struct anstream::adapter::WinconBytes
source · pub struct WinconBytes { /* private fields */ }
Expand description
Incrementally convert to wincon calls for non-contiguous data
Implementations§
source§impl WinconBytes
sourcepub fn extract_next<'s>(&'s mut self, bytes: &'s [u8]) -> WinconBytesIter<'s> ⓘ
Strip the next segment of data
Trait Implementations§
source§impl Clone for WinconBytes
source§fn clone(&self) -> WinconBytes
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for WinconBytes
source§impl Default for WinconBytes
source§fn default() -> WinconBytes
Returns the “default value” for a type. Read moresource§impl PartialEq for WinconBytes
source§fn eq(&self, other: &WinconBytes) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/anstream/adapter/struct.WinconBytesIter.html b/anstream/adapter/struct.WinconBytesIter.html
index 4be27d4f12..417f7b67c8 100644
--- a/anstream/adapter/struct.WinconBytesIter.html
+++ b/anstream/adapter/struct.WinconBytesIter.html
@@ -1,4 +1,4 @@
-WinconBytesIter in anstream::adapter - Rust Struct anstream::adapter::WinconBytesIter
source · pub struct WinconBytesIter<'s> { /* private fields */ }
Expand description
See WinconBytes
+WinconBytesIter in anstream::adapter - Rust Struct anstream::adapter::WinconBytesIter
source · pub struct WinconBytesIter<'s> { /* private fields */ }
Expand description
See WinconBytes
Trait Implementations§
source§impl<'s> Debug for WinconBytesIter<'s>
source§impl<'s> Iterator for WinconBytesIter<'s>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
diff --git a/anstream/all.html b/anstream/all.html
index d76e2d982e..3af88d5e02 100644
--- a/anstream/all.html
+++ b/anstream/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- AutoStream
- StripStream
- adapter::StripBytes
- adapter::StripBytesIter
- adapter::StripStr
- adapter::StripStrIter
- adapter::StrippedBytes
- adapter::StrippedStr
- adapter::WinconBytes
- adapter::WinconBytesIter
Enums
Traits
Macros
Functions
Type Aliases
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- AutoStream
- StripStream
- adapter::StripBytes
- adapter::StripBytesIter
- adapter::StripStr
- adapter::StripStrIter
- adapter::StrippedBytes
- adapter::StrippedStr
- adapter::WinconBytes
- adapter::WinconBytesIter
Enums
Traits
Macros
Functions
Type Aliases
\ No newline at end of file
diff --git a/anstream/enum.ColorChoice.html b/anstream/enum.ColorChoice.html
index 388a018d5c..ff06b2f3c6 100644
--- a/anstream/enum.ColorChoice.html
+++ b/anstream/enum.ColorChoice.html
@@ -1,4 +1,4 @@
-ColorChoice in anstream - Rust Enum anstream::ColorChoice
source · pub enum ColorChoice {
+ColorChoice in anstream - Rust Enum anstream::ColorChoice
source · pub enum ColorChoice {
Auto,
AlwaysAnsi,
Always,
diff --git a/anstream/fn.stderr.html b/anstream/fn.stderr.html
index 4e8d0f7d3c..e11555778f 100644
--- a/anstream/fn.stderr.html
+++ b/anstream/fn.stderr.html
@@ -1,4 +1,4 @@
-stderr in anstream - Rust pub fn stderr() -> Stderr
Expand description
Create an ANSI escape code compatible stderr
+stderr in anstream - Rust pub fn stderr() -> Stderr
Expand description
Create an ANSI escape code compatible stderr
Note: Call AutoStream::lock
in loops to avoid the performance hit of acquiring/releasing
from the implicit locking in each std::io::Write
call
\ No newline at end of file
diff --git a/anstream/fn.stdout.html b/anstream/fn.stdout.html
index 1a956275b5..cd5dea1ba5 100644
--- a/anstream/fn.stdout.html
+++ b/anstream/fn.stdout.html
@@ -1,4 +1,4 @@
-stdout in anstream - Rust pub fn stdout() -> Stdout
Expand description
Create an ANSI escape code compatible stdout
+stdout in anstream - Rust pub fn stdout() -> Stdout
Expand description
Create an ANSI escape code compatible stdout
Note: Call AutoStream::lock
in loops to avoid the performance hit of acquiring/releasing
from the implicit locking in each std::io::Write
call
\ No newline at end of file
diff --git a/anstream/index.html b/anstream/index.html
index c7d93ce4ac..9567305620 100644
--- a/anstream/index.html
+++ b/anstream/index.html
@@ -1,4 +1,4 @@
-anstream - Rust Expand description
Auto-adapting stdout
/ stderr
streams
+anstream - Rust Expand description
Auto-adapting stdout
/ stderr
streams
A portmanteau of “ansi stream”
AutoStream
always accepts ANSI escape codes,
adapting to the user’s terminal’s capabilities.
@@ -10,8 +10,7 @@
Available styling crates:
-- anstyle for minimal runtime styling, designed to go in public APIs
-(once it hits 1.0)
+- anstyle for minimal runtime styling, designed to go in public APIs
- owo-colors for feature-rich runtime styling
- color-print for feature-rich compile-time styling
diff --git a/anstream/macro.eprint.html b/anstream/macro.eprint.html
index e6ccc3d1aa..7f0281e382 100644
--- a/anstream/macro.eprint.html
+++ b/anstream/macro.eprint.html
@@ -1,4 +1,4 @@
-eprint in anstream - Rust macro_rules! eprint {
+eprint in anstream - Rust macro_rules! eprint {
($($arg:tt)*) => { ... };
}
Expand description
Prints to stderr
.
Equivalent to the print!
macro, except that output goes to
diff --git a/anstream/macro.eprintln.html b/anstream/macro.eprintln.html
index 74e26328b5..5618ba5c7f 100644
--- a/anstream/macro.eprintln.html
+++ b/anstream/macro.eprintln.html
@@ -1,4 +1,4 @@
-
eprintln in anstream - Rust macro_rules! eprintln {
+eprintln in anstream - Rust macro_rules! eprintln {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Prints to stderr
, with a newline.
diff --git a/anstream/macro.panic.html b/anstream/macro.panic.html
index 70bf915287..b743d62501 100644
--- a/anstream/macro.panic.html
+++ b/anstream/macro.panic.html
@@ -1,4 +1,4 @@
-panic in anstream - Rust macro_rules! panic {
+panic in anstream - Rust macro_rules! panic {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Panics the current thread.
diff --git a/anstream/macro.print.html b/anstream/macro.print.html
index 9a928d207f..f2508dd5dc 100644
--- a/anstream/macro.print.html
+++ b/anstream/macro.print.html
@@ -1,4 +1,4 @@
-print in anstream - Rust macro_rules! print {
+print in anstream - Rust macro_rules! print {
($($arg:tt)*) => { ... };
}
Expand description
Prints to stdout
.
Equivalent to the println!
macro except that a newline is not printed at
diff --git a/anstream/macro.println.html b/anstream/macro.println.html
index 9fc15320e4..01efd4eee9 100644
--- a/anstream/macro.println.html
+++ b/anstream/macro.println.html
@@ -1,4 +1,4 @@
-
println in anstream - Rust macro_rules! println {
+println in anstream - Rust macro_rules! println {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Prints to stdout
, with a newline.
diff --git a/anstream/stream/index.html b/anstream/stream/index.html
index aca666e54a..524cc2c956 100644
--- a/anstream/stream/index.html
+++ b/anstream/stream/index.html
@@ -1,2 +1,2 @@
-anstream::stream - Rust Expand description
Higher-level traits to describe writeable streams
+anstream::stream - Rust Expand description
Higher-level traits to describe writeable streams
Traits§
- Lock a stream
- Trait to determine if a descriptor/handle refers to a terminal/tty.
- Required functionality for underlying
std::io::Write
for adaptation
\ No newline at end of file
diff --git a/anstream/stream/trait.AsLockedWrite.html b/anstream/stream/trait.AsLockedWrite.html
index cf5ffd5825..0e6a1ed474 100644
--- a/anstream/stream/trait.AsLockedWrite.html
+++ b/anstream/stream/trait.AsLockedWrite.html
@@ -1,4 +1,4 @@
-AsLockedWrite in anstream::stream - Rust Trait anstream::stream::AsLockedWrite
source · pub trait AsLockedWrite: Sealed {
+AsLockedWrite in anstream::stream - Rust Trait anstream::stream::AsLockedWrite
source · pub trait AsLockedWrite: Sealed {
type Write<'w>: RawStream + 'w
where Self: 'w;
diff --git a/anstream/stream/trait.IsTerminal.html b/anstream/stream/trait.IsTerminal.html
index b10efa128c..e2733cda53 100644
--- a/anstream/stream/trait.IsTerminal.html
+++ b/anstream/stream/trait.IsTerminal.html
@@ -1,6 +1,6 @@
-IsTerminal in anstream::stream - Rust Trait anstream::stream::IsTerminal
source · pub trait IsTerminal: Sealed {
+IsTerminal in anstream::stream - Rust Trait anstream::stream::IsTerminal
source · pub trait IsTerminal: Sealed {
// Required method
fn is_terminal(&self) -> bool;
}
Expand description
Trait to determine if a descriptor/handle refers to a terminal/tty.
Required Methods§
sourcefn is_terminal(&self) -> bool
Returns true
if the descriptor/handle refers to a terminal/tty.
-Implementations on Foreign Types§
source§impl IsTerminal for &mut Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StdoutLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stderr
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stdout
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StdoutLock<'_>
source§fn is_terminal(&self) -> bool
Implementors§
\ No newline at end of file
+
Implementations on Foreign Types§
source§impl IsTerminal for &mut Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StdoutLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stderr
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stdout
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StdoutLock<'_>
source§fn is_terminal(&self) -> bool
Implementors§
\ No newline at end of file
diff --git a/anstream/stream/trait.RawStream.html b/anstream/stream/trait.RawStream.html
index 6043a90163..331f33503e 100644
--- a/anstream/stream/trait.RawStream.html
+++ b/anstream/stream/trait.RawStream.html
@@ -1,2 +1,2 @@
-RawStream in anstream::stream - Rust pub trait RawStream: Write + IsTerminal + Sealed { }
Expand description
Required functionality for underlying std::io::Write
for adaptation
+RawStream in anstream::stream - Rust pub trait RawStream: Write + IsTerminal + Sealed { }
Expand description
Required functionality for underlying std::io::Write
for adaptation
Implementations on Foreign Types§
source§impl RawStream for &mut Box<dyn Write>
source§impl RawStream for &mut Vec<u8>
source§impl RawStream for &mut File
source§impl RawStream for &mut StderrLock<'_>
source§impl RawStream for &mut StdoutLock<'_>
source§impl RawStream for Box<dyn Write>
source§impl RawStream for Vec<u8>
source§impl RawStream for File
source§impl RawStream for Stderr
source§impl RawStream for StderrLock<'_>
source§impl RawStream for Stdout
source§impl RawStream for StdoutLock<'_>
Implementors§
\ No newline at end of file
diff --git a/anstream/struct.AutoStream.html b/anstream/struct.AutoStream.html
index 068b27433f..d107eee69b 100644
--- a/anstream/struct.AutoStream.html
+++ b/anstream/struct.AutoStream.html
@@ -1,4 +1,4 @@
-AutoStream in anstream - Rust Struct anstream::AutoStream
source · pub struct AutoStream<S: RawStream> { /* private fields */ }
Expand description
std::io::Write
that adapts ANSI escape codes to the underlying Write
s capabilities
+AutoStream in anstream - Rust Struct anstream::AutoStream
source · pub struct AutoStream<S: RawStream> { /* private fields */ }
Expand description
std::io::Write
that adapts ANSI escape codes to the underlying Write
s capabilities
This includes
- Stripping colors for non-terminals
diff --git a/anstream/struct.StripStream.html b/anstream/struct.StripStream.html
index 83c249d9f9..00e5edf8ac 100644
--- a/anstream/struct.StripStream.html
+++ b/anstream/struct.StripStream.html
@@ -1,4 +1,4 @@
-StripStream in anstream - Rust Struct anstream::StripStream
source · pub struct StripStream<S>where
+StripStream in anstream - Rust Struct anstream::StripStream
source · pub struct StripStream<S>where
S: Write,{ /* private fields */ }
Expand description
Only pass printable data to the inner Write
Implementations§
source§impl<S> StripStream<S>where
S: Write,
impl<T> BorrowMut<T> for Twhere
diff --git a/anstream/adapter/struct.StrippedBytes.html b/anstream/adapter/struct.StrippedBytes.html
index d9cd51d428..d49da482bb 100644
--- a/anstream/adapter/struct.StrippedBytes.html
+++ b/anstream/adapter/struct.StrippedBytes.html
@@ -1,4 +1,4 @@
-StrippedBytes in anstream::adapter - Rust Struct anstream::adapter::StrippedBytes
source · pub struct StrippedBytes<'s> { /* private fields */ }
Expand description
See strip_bytes
+StrippedBytes in anstream::adapter - Rust Struct anstream::adapter::StrippedBytes
source · pub struct StrippedBytes<'s> { /* private fields */ }
Expand description
See strip_bytes
Implementations§
source§impl<'s> StrippedBytes<'s>
sourcepub fn new(bytes: &'s [u8]) -> Self
See strip_bytes
sourcepub fn extend(&mut self, bytes: &'s [u8])
Strip the next slice of bytes
Used when the content is in several non-contiguous slices
@@ -150,7 +150,7 @@ §Panic
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,🔬This is a nightly-only experimental API. (iter_order_by
)Lexicographically compares the elements of this Iterator
with those
-of another with respect to the specified comparison function. Read more1.5.0 · source§fn eq<I>(self, other: I) -> boolwhere
+of another with respect to the specified comparison function. Read more
1.5.0 · source§fn eq<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are equal to those of
@@ -158,7 +158,7 @@ §Panic
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,🔬This is a nightly-only experimental API. (iter_order_by
)1.5.0 · source§fn ne<I>(self, other: I) -> boolwhere
+another with respect to the specified equality function. Read more
1.5.0 · source§fn ne<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are not equal to those of
@@ -184,8 +184,8 @@ §Panic
Self: Sized,
F: FnMut(Self::Item) -> K,
K: PartialOrd,🔬This is a nightly-only experimental API. (is_sorted
)Checks if the elements of this iterator are sorted using the given key extraction
-function. Read moresource§impl<'s> PartialEq for StrippedBytes<'s>
source§impl<'s> PartialEq for StrippedBytes<'s>
source§fn eq(&self, other: &StrippedBytes<'s>) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.source§impl<'s> Eq for StrippedBytes<'s>
source§impl<'s> StructuralPartialEq for StrippedBytes<'s>
Auto Trait Implementations§
§impl<'s> Freeze for StrippedBytes<'s>
§impl<'s> RefUnwindSafe for StrippedBytes<'s>
§impl<'s> Send for StrippedBytes<'s>
§impl<'s> Sync for StrippedBytes<'s>
§impl<'s> Unpin for StrippedBytes<'s>
§impl<'s> UnwindSafe for StrippedBytes<'s>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/anstream/adapter/struct.StrippedStr.html b/anstream/adapter/struct.StrippedStr.html
index 8cbe2d4558..91bd303f84 100644
--- a/anstream/adapter/struct.StrippedStr.html
+++ b/anstream/adapter/struct.StrippedStr.html
@@ -1,4 +1,4 @@
-StrippedStr in anstream::adapter - Rust Struct anstream::adapter::StrippedStr
source · pub struct StrippedStr<'s> { /* private fields */ }
Expand description
See strip_str
+StrippedStr in anstream::adapter - Rust Struct anstream::adapter::StrippedStr
source · pub struct StrippedStr<'s> { /* private fields */ }
Expand description
See strip_str
Implementations§
Trait Implementations§
source§impl<'s> Clone for StrippedStr<'s>
source§impl<'s> Debug for StrippedStr<'s>
source§impl<'s> Default for StrippedStr<'s>
source§impl<'s> Display for StrippedStr<'s>
source§impl<'s> Iterator for StrippedStr<'s>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
@@ -145,7 +145,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
🔬This is a nightly-only experimental API. (iter_order_by
)Lexicographically compares the elements of this Iterator
with those
-of another with respect to the specified comparison function. Read more1.5.0 · source§fn eq<I>(self, other: I) -> boolwhere
+of another with respect to the specified comparison function. Read more
1.5.0 · source§fn eq<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are equal to those of
@@ -153,7 +153,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,🔬This is a nightly-only experimental API. (iter_order_by
)1.5.0 · source§fn ne<I>(self, other: I) -> boolwhere
+another with respect to the specified equality function. Read more
1.5.0 · source§fn ne<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are not equal to those of
@@ -179,8 +179,8 @@
Self: Sized,
F: FnMut(Self::Item) -> K,
K: PartialOrd,🔬This is a nightly-only experimental API. (is_sorted
)Checks if the elements of this iterator are sorted using the given key extraction
-function. Read moresource§impl<'s> PartialEq for StrippedStr<'s>
source§impl<'s> PartialEq for StrippedStr<'s>
source§fn eq(&self, other: &StrippedStr<'s>) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.source§impl<'s> Eq for StrippedStr<'s>
source§impl<'s> StructuralPartialEq for StrippedStr<'s>
Auto Trait Implementations§
§impl<'s> Freeze for StrippedStr<'s>
§impl<'s> RefUnwindSafe for StrippedStr<'s>
§impl<'s> Send for StrippedStr<'s>
§impl<'s> Sync for StrippedStr<'s>
§impl<'s> Unpin for StrippedStr<'s>
§impl<'s> UnwindSafe for StrippedStr<'s>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/anstream/adapter/struct.WinconBytes.html b/anstream/adapter/struct.WinconBytes.html
index 69eaf0f63f..dae2e79899 100644
--- a/anstream/adapter/struct.WinconBytes.html
+++ b/anstream/adapter/struct.WinconBytes.html
@@ -1,4 +1,4 @@
-WinconBytes in anstream::adapter - Rust Struct anstream::adapter::WinconBytes
source · pub struct WinconBytes { /* private fields */ }
Expand description
Incrementally convert to wincon calls for non-contiguous data
+WinconBytes in anstream::adapter - Rust Struct anstream::adapter::WinconBytes
source · pub struct WinconBytes { /* private fields */ }
Expand description
Incrementally convert to wincon calls for non-contiguous data
Implementations§
source§impl WinconBytes
sourcepub fn extract_next<'s>(&'s mut self, bytes: &'s [u8]) -> WinconBytesIter<'s> ⓘ
Strip the next segment of data
Trait Implementations§
source§impl Clone for WinconBytes
source§fn clone(&self) -> WinconBytes
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for WinconBytes
source§impl Default for WinconBytes
source§fn default() -> WinconBytes
Returns the “default value” for a type. Read moresource§impl PartialEq for WinconBytes
source§fn eq(&self, other: &WinconBytes) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/anstream/adapter/struct.WinconBytesIter.html b/anstream/adapter/struct.WinconBytesIter.html
index 4be27d4f12..417f7b67c8 100644
--- a/anstream/adapter/struct.WinconBytesIter.html
+++ b/anstream/adapter/struct.WinconBytesIter.html
@@ -1,4 +1,4 @@
-WinconBytesIter in anstream::adapter - Rust Struct anstream::adapter::WinconBytesIter
source · pub struct WinconBytesIter<'s> { /* private fields */ }
Expand description
See WinconBytes
+WinconBytesIter in anstream::adapter - Rust Struct anstream::adapter::WinconBytesIter
source · pub struct WinconBytesIter<'s> { /* private fields */ }
Expand description
See WinconBytes
Trait Implementations§
source§impl<'s> Debug for WinconBytesIter<'s>
source§impl<'s> Iterator for WinconBytesIter<'s>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
diff --git a/anstream/all.html b/anstream/all.html
index d76e2d982e..3af88d5e02 100644
--- a/anstream/all.html
+++ b/anstream/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- AutoStream
- StripStream
- adapter::StripBytes
- adapter::StripBytesIter
- adapter::StripStr
- adapter::StripStrIter
- adapter::StrippedBytes
- adapter::StrippedStr
- adapter::WinconBytes
- adapter::WinconBytesIter
Enums
Traits
Macros
Functions
Type Aliases
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- AutoStream
- StripStream
- adapter::StripBytes
- adapter::StripBytesIter
- adapter::StripStr
- adapter::StripStrIter
- adapter::StrippedBytes
- adapter::StrippedStr
- adapter::WinconBytes
- adapter::WinconBytesIter
Enums
Traits
Macros
Functions
Type Aliases
\ No newline at end of file
diff --git a/anstream/enum.ColorChoice.html b/anstream/enum.ColorChoice.html
index 388a018d5c..ff06b2f3c6 100644
--- a/anstream/enum.ColorChoice.html
+++ b/anstream/enum.ColorChoice.html
@@ -1,4 +1,4 @@
-ColorChoice in anstream - Rust Enum anstream::ColorChoice
source · pub enum ColorChoice {
+ColorChoice in anstream - Rust Enum anstream::ColorChoice
source · pub enum ColorChoice {
Auto,
AlwaysAnsi,
Always,
diff --git a/anstream/fn.stderr.html b/anstream/fn.stderr.html
index 4e8d0f7d3c..e11555778f 100644
--- a/anstream/fn.stderr.html
+++ b/anstream/fn.stderr.html
@@ -1,4 +1,4 @@
-stderr in anstream - Rust pub fn stderr() -> Stderr
Expand description
Create an ANSI escape code compatible stderr
+stderr in anstream - Rust pub fn stderr() -> Stderr
Expand description
Create an ANSI escape code compatible stderr
Note: Call AutoStream::lock
in loops to avoid the performance hit of acquiring/releasing
from the implicit locking in each std::io::Write
call
\ No newline at end of file
diff --git a/anstream/fn.stdout.html b/anstream/fn.stdout.html
index 1a956275b5..cd5dea1ba5 100644
--- a/anstream/fn.stdout.html
+++ b/anstream/fn.stdout.html
@@ -1,4 +1,4 @@
-stdout in anstream - Rust pub fn stdout() -> Stdout
Expand description
Create an ANSI escape code compatible stdout
+stdout in anstream - Rust pub fn stdout() -> Stdout
Expand description
Create an ANSI escape code compatible stdout
Note: Call AutoStream::lock
in loops to avoid the performance hit of acquiring/releasing
from the implicit locking in each std::io::Write
call
\ No newline at end of file
diff --git a/anstream/index.html b/anstream/index.html
index c7d93ce4ac..9567305620 100644
--- a/anstream/index.html
+++ b/anstream/index.html
@@ -1,4 +1,4 @@
-anstream - Rust Expand description
Auto-adapting stdout
/ stderr
streams
+anstream - Rust Expand description
Auto-adapting stdout
/ stderr
streams
A portmanteau of “ansi stream”
AutoStream
always accepts ANSI escape codes,
adapting to the user’s terminal’s capabilities.
@@ -10,8 +10,7 @@
Available styling crates:
-- anstyle for minimal runtime styling, designed to go in public APIs
-(once it hits 1.0)
+- anstyle for minimal runtime styling, designed to go in public APIs
- owo-colors for feature-rich runtime styling
- color-print for feature-rich compile-time styling
diff --git a/anstream/macro.eprint.html b/anstream/macro.eprint.html
index e6ccc3d1aa..7f0281e382 100644
--- a/anstream/macro.eprint.html
+++ b/anstream/macro.eprint.html
@@ -1,4 +1,4 @@
-eprint in anstream - Rust macro_rules! eprint {
+eprint in anstream - Rust macro_rules! eprint {
($($arg:tt)*) => { ... };
}
Expand description
Prints to stderr
.
Equivalent to the print!
macro, except that output goes to
diff --git a/anstream/macro.eprintln.html b/anstream/macro.eprintln.html
index 74e26328b5..5618ba5c7f 100644
--- a/anstream/macro.eprintln.html
+++ b/anstream/macro.eprintln.html
@@ -1,4 +1,4 @@
-
eprintln in anstream - Rust macro_rules! eprintln {
+eprintln in anstream - Rust macro_rules! eprintln {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Prints to stderr
, with a newline.
diff --git a/anstream/macro.panic.html b/anstream/macro.panic.html
index 70bf915287..b743d62501 100644
--- a/anstream/macro.panic.html
+++ b/anstream/macro.panic.html
@@ -1,4 +1,4 @@
-panic in anstream - Rust macro_rules! panic {
+panic in anstream - Rust macro_rules! panic {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Panics the current thread.
diff --git a/anstream/macro.print.html b/anstream/macro.print.html
index 9a928d207f..f2508dd5dc 100644
--- a/anstream/macro.print.html
+++ b/anstream/macro.print.html
@@ -1,4 +1,4 @@
-print in anstream - Rust macro_rules! print {
+print in anstream - Rust macro_rules! print {
($($arg:tt)*) => { ... };
}
Expand description
Prints to stdout
.
Equivalent to the println!
macro except that a newline is not printed at
diff --git a/anstream/macro.println.html b/anstream/macro.println.html
index 9fc15320e4..01efd4eee9 100644
--- a/anstream/macro.println.html
+++ b/anstream/macro.println.html
@@ -1,4 +1,4 @@
-
println in anstream - Rust macro_rules! println {
+println in anstream - Rust macro_rules! println {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Prints to stdout
, with a newline.
diff --git a/anstream/stream/index.html b/anstream/stream/index.html
index aca666e54a..524cc2c956 100644
--- a/anstream/stream/index.html
+++ b/anstream/stream/index.html
@@ -1,2 +1,2 @@
-anstream::stream - Rust Expand description
Higher-level traits to describe writeable streams
+anstream::stream - Rust Expand description
Higher-level traits to describe writeable streams
Traits§
- Lock a stream
- Trait to determine if a descriptor/handle refers to a terminal/tty.
- Required functionality for underlying
std::io::Write
for adaptation
\ No newline at end of file
diff --git a/anstream/stream/trait.AsLockedWrite.html b/anstream/stream/trait.AsLockedWrite.html
index cf5ffd5825..0e6a1ed474 100644
--- a/anstream/stream/trait.AsLockedWrite.html
+++ b/anstream/stream/trait.AsLockedWrite.html
@@ -1,4 +1,4 @@
-AsLockedWrite in anstream::stream - Rust Trait anstream::stream::AsLockedWrite
source · pub trait AsLockedWrite: Sealed {
+AsLockedWrite in anstream::stream - Rust Trait anstream::stream::AsLockedWrite
source · pub trait AsLockedWrite: Sealed {
type Write<'w>: RawStream + 'w
where Self: 'w;
diff --git a/anstream/stream/trait.IsTerminal.html b/anstream/stream/trait.IsTerminal.html
index b10efa128c..e2733cda53 100644
--- a/anstream/stream/trait.IsTerminal.html
+++ b/anstream/stream/trait.IsTerminal.html
@@ -1,6 +1,6 @@
-IsTerminal in anstream::stream - Rust Trait anstream::stream::IsTerminal
source · pub trait IsTerminal: Sealed {
+IsTerminal in anstream::stream - Rust Trait anstream::stream::IsTerminal
source · pub trait IsTerminal: Sealed {
// Required method
fn is_terminal(&self) -> bool;
}
Expand description
Trait to determine if a descriptor/handle refers to a terminal/tty.
Required Methods§
sourcefn is_terminal(&self) -> bool
Returns true
if the descriptor/handle refers to a terminal/tty.
-Implementations on Foreign Types§
source§impl IsTerminal for &mut Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StdoutLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stderr
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stdout
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StdoutLock<'_>
source§fn is_terminal(&self) -> bool
Implementors§
\ No newline at end of file
+
Implementations on Foreign Types§
source§impl IsTerminal for &mut Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StdoutLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stderr
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stdout
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StdoutLock<'_>
source§fn is_terminal(&self) -> bool
Implementors§
\ No newline at end of file
diff --git a/anstream/stream/trait.RawStream.html b/anstream/stream/trait.RawStream.html
index 6043a90163..331f33503e 100644
--- a/anstream/stream/trait.RawStream.html
+++ b/anstream/stream/trait.RawStream.html
@@ -1,2 +1,2 @@
-RawStream in anstream::stream - Rust pub trait RawStream: Write + IsTerminal + Sealed { }
Expand description
Required functionality for underlying std::io::Write
for adaptation
+RawStream in anstream::stream - Rust pub trait RawStream: Write + IsTerminal + Sealed { }
Expand description
Required functionality for underlying std::io::Write
for adaptation
Implementations on Foreign Types§
source§impl RawStream for &mut Box<dyn Write>
source§impl RawStream for &mut Vec<u8>
source§impl RawStream for &mut File
source§impl RawStream for &mut StderrLock<'_>
source§impl RawStream for &mut StdoutLock<'_>
source§impl RawStream for Box<dyn Write>
source§impl RawStream for Vec<u8>
source§impl RawStream for File
source§impl RawStream for Stderr
source§impl RawStream for StderrLock<'_>
source§impl RawStream for Stdout
source§impl RawStream for StdoutLock<'_>
Implementors§
\ No newline at end of file
diff --git a/anstream/struct.AutoStream.html b/anstream/struct.AutoStream.html
index 068b27433f..d107eee69b 100644
--- a/anstream/struct.AutoStream.html
+++ b/anstream/struct.AutoStream.html
@@ -1,4 +1,4 @@
-AutoStream in anstream - Rust Struct anstream::AutoStream
source · pub struct AutoStream<S: RawStream> { /* private fields */ }
Expand description
std::io::Write
that adapts ANSI escape codes to the underlying Write
s capabilities
+AutoStream in anstream - Rust Struct anstream::AutoStream
source · pub struct AutoStream<S: RawStream> { /* private fields */ }
Expand description
std::io::Write
that adapts ANSI escape codes to the underlying Write
s capabilities
This includes
- Stripping colors for non-terminals
diff --git a/anstream/struct.StripStream.html b/anstream/struct.StripStream.html
index 83c249d9f9..00e5edf8ac 100644
--- a/anstream/struct.StripStream.html
+++ b/anstream/struct.StripStream.html
@@ -1,4 +1,4 @@
-StripStream in anstream - Rust Struct anstream::StripStream
source · pub struct StripStream<S>where
+StripStream in anstream - Rust Struct anstream::StripStream
source · pub struct StripStream<S>where
S: Write,{ /* private fields */ }
Expand description
Only pass printable data to the inner Write
Implementations§
source§impl<S> StripStream<S>where
S: Write,
Struct anstream::adapter::StrippedBytes
source · pub struct StrippedBytes<'s> { /* private fields */ }
Expand description
See strip_bytes
Struct anstream::adapter::StrippedBytes
source · pub struct StrippedBytes<'s> { /* private fields */ }
Expand description
See strip_bytes
Implementations§
source§impl<'s> StrippedBytes<'s>
impl<'s> StrippedBytes<'s>
sourcepub fn new(bytes: &'s [u8]) -> Self
pub fn new(bytes: &'s [u8]) -> Self
See strip_bytes
sourcepub fn extend(&mut self, bytes: &'s [u8])
pub fn extend(&mut self, bytes: &'s [u8])
Strip the next slice of bytes
Used when the content is in several non-contiguous slices
@@ -150,7 +150,7 @@§Panic
Self: Sized, I: IntoIterator, F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,iter_order_by
)Iterator
with those
-of another with respect to the specified comparison function. Read more1.5.0 · source§fn eq<I>(self, other: I) -> boolwhere
+of another with respect to the specified comparison function. Read more
fn eq<I>(self, other: I) -> boolwhere
+of another with respect to the specified comparison function. Read more
1.5.0 · source§fn eq<I>(self, other: I) -> bool
fn eq<I>(self, other: I) -> bool
Iterator
are equal to those of
@@ -158,7 +158,7 @@ §Panic
Self: Sized, I: IntoIterator, F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,iter_order_by
)1.5.0 · source§fn ne<I>(self, other: I) -> boolwhere
+another with respect to the specified equality function. Read more
fn ne<I>(self, other: I) -> boolwhere
+another with respect to the specified equality function. Read more
1.5.0 · source§fn ne<I>(self, other: I) -> bool
fn ne<I>(self, other: I) -> bool
Iterator
are not equal to those of
@@ -184,8 +184,8 @@ §Panic
Self: Sized, F: FnMut(Self::Item) -> K, K: PartialOrd,is_sorted
)source§impl<'s> PartialEq for StrippedBytes<'s>
impl<'s> PartialEq for StrippedBytes<'s>
source§impl<'s> PartialEq for StrippedBytes<'s>
impl<'s> PartialEq for StrippedBytes<'s>
source§fn eq(&self, other: &StrippedBytes<'s>) -> bool
fn eq(&self, other: &StrippedBytes<'s>) -> bool
self
and other
values to be equal, and is used
+by ==
.impl<'s> Eq for StrippedBytes<'s>
impl<'s> StructuralPartialEq for StrippedBytes<'s>
Auto Trait Implementations§
impl<'s> Freeze for StrippedBytes<'s>
impl<'s> RefUnwindSafe for StrippedBytes<'s>
impl<'s> Send for StrippedBytes<'s>
impl<'s> Sync for StrippedBytes<'s>
impl<'s> Unpin for StrippedBytes<'s>
impl<'s> UnwindSafe for StrippedBytes<'s>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/anstream/adapter/struct.StrippedStr.html b/anstream/adapter/struct.StrippedStr.html
index 8cbe2d4558..91bd303f84 100644
--- a/anstream/adapter/struct.StrippedStr.html
+++ b/anstream/adapter/struct.StrippedStr.html
@@ -1,4 +1,4 @@
-StrippedStr in anstream::adapter - Rust Struct anstream::adapter::StrippedStr
source · pub struct StrippedStr<'s> { /* private fields */ }
Expand description
See strip_str
+StrippedStr in anstream::adapter - Rust Struct anstream::adapter::StrippedStr
source · pub struct StrippedStr<'s> { /* private fields */ }
Expand description
See strip_str
Implementations§
Trait Implementations§
source§impl<'s> Clone for StrippedStr<'s>
source§impl<'s> Debug for StrippedStr<'s>
source§impl<'s> Default for StrippedStr<'s>
source§impl<'s> Display for StrippedStr<'s>
source§impl<'s> Iterator for StrippedStr<'s>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
@@ -145,7 +145,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
🔬This is a nightly-only experimental API. (iter_order_by
)Lexicographically compares the elements of this Iterator
with those
-of another with respect to the specified comparison function. Read more1.5.0 · source§fn eq<I>(self, other: I) -> boolwhere
+of another with respect to the specified comparison function. Read more
1.5.0 · source§fn eq<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are equal to those of
@@ -153,7 +153,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,🔬This is a nightly-only experimental API. (iter_order_by
)1.5.0 · source§fn ne<I>(self, other: I) -> boolwhere
+another with respect to the specified equality function. Read more
1.5.0 · source§fn ne<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are not equal to those of
@@ -179,8 +179,8 @@
Self: Sized,
F: FnMut(Self::Item) -> K,
K: PartialOrd,🔬This is a nightly-only experimental API. (is_sorted
)Checks if the elements of this iterator are sorted using the given key extraction
-function. Read moresource§impl<'s> PartialEq for StrippedStr<'s>
source§impl<'s> PartialEq for StrippedStr<'s>
source§fn eq(&self, other: &StrippedStr<'s>) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.source§impl<'s> Eq for StrippedStr<'s>
source§impl<'s> StructuralPartialEq for StrippedStr<'s>
Auto Trait Implementations§
§impl<'s> Freeze for StrippedStr<'s>
§impl<'s> RefUnwindSafe for StrippedStr<'s>
§impl<'s> Send for StrippedStr<'s>
§impl<'s> Sync for StrippedStr<'s>
§impl<'s> Unpin for StrippedStr<'s>
§impl<'s> UnwindSafe for StrippedStr<'s>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/anstream/adapter/struct.WinconBytes.html b/anstream/adapter/struct.WinconBytes.html
index 69eaf0f63f..dae2e79899 100644
--- a/anstream/adapter/struct.WinconBytes.html
+++ b/anstream/adapter/struct.WinconBytes.html
@@ -1,4 +1,4 @@
-WinconBytes in anstream::adapter - Rust Struct anstream::adapter::WinconBytes
source · pub struct WinconBytes { /* private fields */ }
Expand description
Incrementally convert to wincon calls for non-contiguous data
+WinconBytes in anstream::adapter - Rust Struct anstream::adapter::WinconBytes
source · pub struct WinconBytes { /* private fields */ }
Expand description
Incrementally convert to wincon calls for non-contiguous data
Implementations§
source§impl WinconBytes
sourcepub fn extract_next<'s>(&'s mut self, bytes: &'s [u8]) -> WinconBytesIter<'s> ⓘ
Strip the next segment of data
Trait Implementations§
source§impl Clone for WinconBytes
source§fn clone(&self) -> WinconBytes
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for WinconBytes
source§impl Default for WinconBytes
source§fn default() -> WinconBytes
Returns the “default value” for a type. Read moresource§impl PartialEq for WinconBytes
source§fn eq(&self, other: &WinconBytes) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/anstream/adapter/struct.WinconBytesIter.html b/anstream/adapter/struct.WinconBytesIter.html
index 4be27d4f12..417f7b67c8 100644
--- a/anstream/adapter/struct.WinconBytesIter.html
+++ b/anstream/adapter/struct.WinconBytesIter.html
@@ -1,4 +1,4 @@
-WinconBytesIter in anstream::adapter - Rust Struct anstream::adapter::WinconBytesIter
source · pub struct WinconBytesIter<'s> { /* private fields */ }
Expand description
See WinconBytes
+WinconBytesIter in anstream::adapter - Rust Struct anstream::adapter::WinconBytesIter
source · pub struct WinconBytesIter<'s> { /* private fields */ }
Expand description
See WinconBytes
Trait Implementations§
source§impl<'s> Debug for WinconBytesIter<'s>
source§impl<'s> Iterator for WinconBytesIter<'s>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
diff --git a/anstream/all.html b/anstream/all.html
index d76e2d982e..3af88d5e02 100644
--- a/anstream/all.html
+++ b/anstream/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- AutoStream
- StripStream
- adapter::StripBytes
- adapter::StripBytesIter
- adapter::StripStr
- adapter::StripStrIter
- adapter::StrippedBytes
- adapter::StrippedStr
- adapter::WinconBytes
- adapter::WinconBytesIter
Enums
Traits
Macros
Functions
Type Aliases
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- AutoStream
- StripStream
- adapter::StripBytes
- adapter::StripBytesIter
- adapter::StripStr
- adapter::StripStrIter
- adapter::StrippedBytes
- adapter::StrippedStr
- adapter::WinconBytes
- adapter::WinconBytesIter
Enums
Traits
Macros
Functions
Type Aliases
\ No newline at end of file
diff --git a/anstream/enum.ColorChoice.html b/anstream/enum.ColorChoice.html
index 388a018d5c..ff06b2f3c6 100644
--- a/anstream/enum.ColorChoice.html
+++ b/anstream/enum.ColorChoice.html
@@ -1,4 +1,4 @@
-ColorChoice in anstream - Rust Enum anstream::ColorChoice
source · pub enum ColorChoice {
+ColorChoice in anstream - Rust Enum anstream::ColorChoice
source · pub enum ColorChoice {
Auto,
AlwaysAnsi,
Always,
diff --git a/anstream/fn.stderr.html b/anstream/fn.stderr.html
index 4e8d0f7d3c..e11555778f 100644
--- a/anstream/fn.stderr.html
+++ b/anstream/fn.stderr.html
@@ -1,4 +1,4 @@
-stderr in anstream - Rust pub fn stderr() -> Stderr
Expand description
Create an ANSI escape code compatible stderr
+stderr in anstream - Rust pub fn stderr() -> Stderr
Expand description
Create an ANSI escape code compatible stderr
Note: Call AutoStream::lock
in loops to avoid the performance hit of acquiring/releasing
from the implicit locking in each std::io::Write
call
\ No newline at end of file
diff --git a/anstream/fn.stdout.html b/anstream/fn.stdout.html
index 1a956275b5..cd5dea1ba5 100644
--- a/anstream/fn.stdout.html
+++ b/anstream/fn.stdout.html
@@ -1,4 +1,4 @@
-stdout in anstream - Rust pub fn stdout() -> Stdout
Expand description
Create an ANSI escape code compatible stdout
+stdout in anstream - Rust pub fn stdout() -> Stdout
Expand description
Create an ANSI escape code compatible stdout
Note: Call AutoStream::lock
in loops to avoid the performance hit of acquiring/releasing
from the implicit locking in each std::io::Write
call
\ No newline at end of file
diff --git a/anstream/index.html b/anstream/index.html
index c7d93ce4ac..9567305620 100644
--- a/anstream/index.html
+++ b/anstream/index.html
@@ -1,4 +1,4 @@
-anstream - Rust Expand description
Auto-adapting stdout
/ stderr
streams
+anstream - Rust Expand description
Auto-adapting stdout
/ stderr
streams
A portmanteau of “ansi stream”
AutoStream
always accepts ANSI escape codes,
adapting to the user’s terminal’s capabilities.
@@ -10,8 +10,7 @@
Available styling crates:
-- anstyle for minimal runtime styling, designed to go in public APIs
-(once it hits 1.0)
+- anstyle for minimal runtime styling, designed to go in public APIs
- owo-colors for feature-rich runtime styling
- color-print for feature-rich compile-time styling
diff --git a/anstream/macro.eprint.html b/anstream/macro.eprint.html
index e6ccc3d1aa..7f0281e382 100644
--- a/anstream/macro.eprint.html
+++ b/anstream/macro.eprint.html
@@ -1,4 +1,4 @@
-eprint in anstream - Rust macro_rules! eprint {
+eprint in anstream - Rust macro_rules! eprint {
($($arg:tt)*) => { ... };
}
Expand description
Prints to stderr
.
Equivalent to the print!
macro, except that output goes to
diff --git a/anstream/macro.eprintln.html b/anstream/macro.eprintln.html
index 74e26328b5..5618ba5c7f 100644
--- a/anstream/macro.eprintln.html
+++ b/anstream/macro.eprintln.html
@@ -1,4 +1,4 @@
-
eprintln in anstream - Rust macro_rules! eprintln {
+eprintln in anstream - Rust macro_rules! eprintln {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Prints to stderr
, with a newline.
diff --git a/anstream/macro.panic.html b/anstream/macro.panic.html
index 70bf915287..b743d62501 100644
--- a/anstream/macro.panic.html
+++ b/anstream/macro.panic.html
@@ -1,4 +1,4 @@
-panic in anstream - Rust macro_rules! panic {
+panic in anstream - Rust macro_rules! panic {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Panics the current thread.
diff --git a/anstream/macro.print.html b/anstream/macro.print.html
index 9a928d207f..f2508dd5dc 100644
--- a/anstream/macro.print.html
+++ b/anstream/macro.print.html
@@ -1,4 +1,4 @@
-print in anstream - Rust macro_rules! print {
+print in anstream - Rust macro_rules! print {
($($arg:tt)*) => { ... };
}
Expand description
Prints to stdout
.
Equivalent to the println!
macro except that a newline is not printed at
diff --git a/anstream/macro.println.html b/anstream/macro.println.html
index 9fc15320e4..01efd4eee9 100644
--- a/anstream/macro.println.html
+++ b/anstream/macro.println.html
@@ -1,4 +1,4 @@
-
println in anstream - Rust macro_rules! println {
+println in anstream - Rust macro_rules! println {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Prints to stdout
, with a newline.
diff --git a/anstream/stream/index.html b/anstream/stream/index.html
index aca666e54a..524cc2c956 100644
--- a/anstream/stream/index.html
+++ b/anstream/stream/index.html
@@ -1,2 +1,2 @@
-anstream::stream - Rust Expand description
Higher-level traits to describe writeable streams
+anstream::stream - Rust Expand description
Higher-level traits to describe writeable streams
Traits§
- Lock a stream
- Trait to determine if a descriptor/handle refers to a terminal/tty.
- Required functionality for underlying
std::io::Write
for adaptation
\ No newline at end of file
diff --git a/anstream/stream/trait.AsLockedWrite.html b/anstream/stream/trait.AsLockedWrite.html
index cf5ffd5825..0e6a1ed474 100644
--- a/anstream/stream/trait.AsLockedWrite.html
+++ b/anstream/stream/trait.AsLockedWrite.html
@@ -1,4 +1,4 @@
-AsLockedWrite in anstream::stream - Rust Trait anstream::stream::AsLockedWrite
source · pub trait AsLockedWrite: Sealed {
+AsLockedWrite in anstream::stream - Rust Trait anstream::stream::AsLockedWrite
source · pub trait AsLockedWrite: Sealed {
type Write<'w>: RawStream + 'w
where Self: 'w;
diff --git a/anstream/stream/trait.IsTerminal.html b/anstream/stream/trait.IsTerminal.html
index b10efa128c..e2733cda53 100644
--- a/anstream/stream/trait.IsTerminal.html
+++ b/anstream/stream/trait.IsTerminal.html
@@ -1,6 +1,6 @@
-IsTerminal in anstream::stream - Rust Trait anstream::stream::IsTerminal
source · pub trait IsTerminal: Sealed {
+IsTerminal in anstream::stream - Rust Trait anstream::stream::IsTerminal
source · pub trait IsTerminal: Sealed {
// Required method
fn is_terminal(&self) -> bool;
}
Expand description
Trait to determine if a descriptor/handle refers to a terminal/tty.
Required Methods§
sourcefn is_terminal(&self) -> bool
Returns true
if the descriptor/handle refers to a terminal/tty.
-Implementations on Foreign Types§
source§impl IsTerminal for &mut Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StdoutLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stderr
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stdout
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StdoutLock<'_>
source§fn is_terminal(&self) -> bool
Implementors§
\ No newline at end of file
+
Implementations on Foreign Types§
source§impl IsTerminal for &mut Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StdoutLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stderr
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stdout
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StdoutLock<'_>
source§fn is_terminal(&self) -> bool
Implementors§
\ No newline at end of file
diff --git a/anstream/stream/trait.RawStream.html b/anstream/stream/trait.RawStream.html
index 6043a90163..331f33503e 100644
--- a/anstream/stream/trait.RawStream.html
+++ b/anstream/stream/trait.RawStream.html
@@ -1,2 +1,2 @@
-RawStream in anstream::stream - Rust pub trait RawStream: Write + IsTerminal + Sealed { }
Expand description
Required functionality for underlying std::io::Write
for adaptation
+RawStream in anstream::stream - Rust pub trait RawStream: Write + IsTerminal + Sealed { }
Expand description
Required functionality for underlying std::io::Write
for adaptation
Implementations on Foreign Types§
source§impl RawStream for &mut Box<dyn Write>
source§impl RawStream for &mut Vec<u8>
source§impl RawStream for &mut File
source§impl RawStream for &mut StderrLock<'_>
source§impl RawStream for &mut StdoutLock<'_>
source§impl RawStream for Box<dyn Write>
source§impl RawStream for Vec<u8>
source§impl RawStream for File
source§impl RawStream for Stderr
source§impl RawStream for StderrLock<'_>
source§impl RawStream for Stdout
source§impl RawStream for StdoutLock<'_>
Implementors§
\ No newline at end of file
diff --git a/anstream/struct.AutoStream.html b/anstream/struct.AutoStream.html
index 068b27433f..d107eee69b 100644
--- a/anstream/struct.AutoStream.html
+++ b/anstream/struct.AutoStream.html
@@ -1,4 +1,4 @@
-AutoStream in anstream - Rust Struct anstream::AutoStream
source · pub struct AutoStream<S: RawStream> { /* private fields */ }
Expand description
std::io::Write
that adapts ANSI escape codes to the underlying Write
s capabilities
+AutoStream in anstream - Rust Struct anstream::AutoStream
source · pub struct AutoStream<S: RawStream> { /* private fields */ }
Expand description
std::io::Write
that adapts ANSI escape codes to the underlying Write
s capabilities
This includes
- Stripping colors for non-terminals
diff --git a/anstream/struct.StripStream.html b/anstream/struct.StripStream.html
index 83c249d9f9..00e5edf8ac 100644
--- a/anstream/struct.StripStream.html
+++ b/anstream/struct.StripStream.html
@@ -1,4 +1,4 @@
-StripStream in anstream - Rust Struct anstream::StripStream
source · pub struct StripStream<S>where
+StripStream in anstream - Rust Struct anstream::StripStream
source · pub struct StripStream<S>where
S: Write,{ /* private fields */ }
Expand description
Only pass printable data to the inner Write
Implementations§
source§impl<S> StripStream<S>where
S: Write,
impl<T> BorrowMut<T> for Twhere
diff --git a/anstream/adapter/struct.StrippedStr.html b/anstream/adapter/struct.StrippedStr.html
index 8cbe2d4558..91bd303f84 100644
--- a/anstream/adapter/struct.StrippedStr.html
+++ b/anstream/adapter/struct.StrippedStr.html
@@ -1,4 +1,4 @@
-StrippedStr in anstream::adapter - Rust Struct anstream::adapter::StrippedStr
source · pub struct StrippedStr<'s> { /* private fields */ }
Expand description
See strip_str
+StrippedStr in anstream::adapter - Rust Struct anstream::adapter::StrippedStr
source · pub struct StrippedStr<'s> { /* private fields */ }
Expand description
See strip_str
Implementations§
Trait Implementations§
source§impl<'s> Clone for StrippedStr<'s>
source§impl<'s> Debug for StrippedStr<'s>
source§impl<'s> Default for StrippedStr<'s>
source§impl<'s> Display for StrippedStr<'s>
source§impl<'s> Iterator for StrippedStr<'s>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
@@ -145,7 +145,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
🔬This is a nightly-only experimental API. (iter_order_by
)Lexicographically compares the elements of this Iterator
with those
-of another with respect to the specified comparison function. Read more1.5.0 · source§fn eq<I>(self, other: I) -> boolwhere
+of another with respect to the specified comparison function. Read more
1.5.0 · source§fn eq<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are equal to those of
@@ -153,7 +153,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,🔬This is a nightly-only experimental API. (iter_order_by
)1.5.0 · source§fn ne<I>(self, other: I) -> boolwhere
+another with respect to the specified equality function. Read more
1.5.0 · source§fn ne<I>(self, other: I) -> bool
Determines if the elements of this Iterator
are not equal to those of
@@ -179,8 +179,8 @@
Self: Sized,
F: FnMut(Self::Item) -> K,
K: PartialOrd,🔬This is a nightly-only experimental API. (is_sorted
)Checks if the elements of this iterator are sorted using the given key extraction
-function. Read moresource§impl<'s> PartialEq for StrippedStr<'s>
source§impl<'s> PartialEq for StrippedStr<'s>
source§fn eq(&self, other: &StrippedStr<'s>) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.source§impl<'s> Eq for StrippedStr<'s>
source§impl<'s> StructuralPartialEq for StrippedStr<'s>
Auto Trait Implementations§
§impl<'s> Freeze for StrippedStr<'s>
§impl<'s> RefUnwindSafe for StrippedStr<'s>
§impl<'s> Send for StrippedStr<'s>
§impl<'s> Sync for StrippedStr<'s>
§impl<'s> Unpin for StrippedStr<'s>
§impl<'s> UnwindSafe for StrippedStr<'s>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/anstream/adapter/struct.WinconBytes.html b/anstream/adapter/struct.WinconBytes.html
index 69eaf0f63f..dae2e79899 100644
--- a/anstream/adapter/struct.WinconBytes.html
+++ b/anstream/adapter/struct.WinconBytes.html
@@ -1,4 +1,4 @@
-WinconBytes in anstream::adapter - Rust Struct anstream::adapter::WinconBytes
source · pub struct WinconBytes { /* private fields */ }
Expand description
Incrementally convert to wincon calls for non-contiguous data
+WinconBytes in anstream::adapter - Rust Struct anstream::adapter::WinconBytes
source · pub struct WinconBytes { /* private fields */ }
Expand description
Incrementally convert to wincon calls for non-contiguous data
Implementations§
source§impl WinconBytes
sourcepub fn extract_next<'s>(&'s mut self, bytes: &'s [u8]) -> WinconBytesIter<'s> ⓘ
Strip the next segment of data
Trait Implementations§
source§impl Clone for WinconBytes
source§fn clone(&self) -> WinconBytes
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for WinconBytes
source§impl Default for WinconBytes
source§fn default() -> WinconBytes
Returns the “default value” for a type. Read moresource§impl PartialEq for WinconBytes
source§fn eq(&self, other: &WinconBytes) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/anstream/adapter/struct.WinconBytesIter.html b/anstream/adapter/struct.WinconBytesIter.html
index 4be27d4f12..417f7b67c8 100644
--- a/anstream/adapter/struct.WinconBytesIter.html
+++ b/anstream/adapter/struct.WinconBytesIter.html
@@ -1,4 +1,4 @@
-WinconBytesIter in anstream::adapter - Rust Struct anstream::adapter::WinconBytesIter
source · pub struct WinconBytesIter<'s> { /* private fields */ }
Expand description
See WinconBytes
+WinconBytesIter in anstream::adapter - Rust Struct anstream::adapter::WinconBytesIter
source · pub struct WinconBytesIter<'s> { /* private fields */ }
Expand description
See WinconBytes
Trait Implementations§
source§impl<'s> Debug for WinconBytesIter<'s>
source§impl<'s> Iterator for WinconBytesIter<'s>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
diff --git a/anstream/all.html b/anstream/all.html
index d76e2d982e..3af88d5e02 100644
--- a/anstream/all.html
+++ b/anstream/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- AutoStream
- StripStream
- adapter::StripBytes
- adapter::StripBytesIter
- adapter::StripStr
- adapter::StripStrIter
- adapter::StrippedBytes
- adapter::StrippedStr
- adapter::WinconBytes
- adapter::WinconBytesIter
Enums
Traits
Macros
Functions
Type Aliases
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- AutoStream
- StripStream
- adapter::StripBytes
- adapter::StripBytesIter
- adapter::StripStr
- adapter::StripStrIter
- adapter::StrippedBytes
- adapter::StrippedStr
- adapter::WinconBytes
- adapter::WinconBytesIter
Enums
Traits
Macros
Functions
Type Aliases
\ No newline at end of file
diff --git a/anstream/enum.ColorChoice.html b/anstream/enum.ColorChoice.html
index 388a018d5c..ff06b2f3c6 100644
--- a/anstream/enum.ColorChoice.html
+++ b/anstream/enum.ColorChoice.html
@@ -1,4 +1,4 @@
-ColorChoice in anstream - Rust Enum anstream::ColorChoice
source · pub enum ColorChoice {
+ColorChoice in anstream - Rust Enum anstream::ColorChoice
source · pub enum ColorChoice {
Auto,
AlwaysAnsi,
Always,
diff --git a/anstream/fn.stderr.html b/anstream/fn.stderr.html
index 4e8d0f7d3c..e11555778f 100644
--- a/anstream/fn.stderr.html
+++ b/anstream/fn.stderr.html
@@ -1,4 +1,4 @@
-stderr in anstream - Rust pub fn stderr() -> Stderr
Expand description
Create an ANSI escape code compatible stderr
+stderr in anstream - Rust pub fn stderr() -> Stderr
Expand description
Create an ANSI escape code compatible stderr
Note: Call AutoStream::lock
in loops to avoid the performance hit of acquiring/releasing
from the implicit locking in each std::io::Write
call
\ No newline at end of file
diff --git a/anstream/fn.stdout.html b/anstream/fn.stdout.html
index 1a956275b5..cd5dea1ba5 100644
--- a/anstream/fn.stdout.html
+++ b/anstream/fn.stdout.html
@@ -1,4 +1,4 @@
-stdout in anstream - Rust pub fn stdout() -> Stdout
Expand description
Create an ANSI escape code compatible stdout
+stdout in anstream - Rust pub fn stdout() -> Stdout
Expand description
Create an ANSI escape code compatible stdout
Note: Call AutoStream::lock
in loops to avoid the performance hit of acquiring/releasing
from the implicit locking in each std::io::Write
call
\ No newline at end of file
diff --git a/anstream/index.html b/anstream/index.html
index c7d93ce4ac..9567305620 100644
--- a/anstream/index.html
+++ b/anstream/index.html
@@ -1,4 +1,4 @@
-anstream - Rust Expand description
Auto-adapting stdout
/ stderr
streams
+anstream - Rust Expand description
Auto-adapting stdout
/ stderr
streams
A portmanteau of “ansi stream”
AutoStream
always accepts ANSI escape codes,
adapting to the user’s terminal’s capabilities.
@@ -10,8 +10,7 @@
Available styling crates:
-- anstyle for minimal runtime styling, designed to go in public APIs
-(once it hits 1.0)
+- anstyle for minimal runtime styling, designed to go in public APIs
- owo-colors for feature-rich runtime styling
- color-print for feature-rich compile-time styling
diff --git a/anstream/macro.eprint.html b/anstream/macro.eprint.html
index e6ccc3d1aa..7f0281e382 100644
--- a/anstream/macro.eprint.html
+++ b/anstream/macro.eprint.html
@@ -1,4 +1,4 @@
-eprint in anstream - Rust macro_rules! eprint {
+eprint in anstream - Rust macro_rules! eprint {
($($arg:tt)*) => { ... };
}
Expand description
Prints to stderr
.
Equivalent to the print!
macro, except that output goes to
diff --git a/anstream/macro.eprintln.html b/anstream/macro.eprintln.html
index 74e26328b5..5618ba5c7f 100644
--- a/anstream/macro.eprintln.html
+++ b/anstream/macro.eprintln.html
@@ -1,4 +1,4 @@
-
eprintln in anstream - Rust macro_rules! eprintln {
+eprintln in anstream - Rust macro_rules! eprintln {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Prints to stderr
, with a newline.
diff --git a/anstream/macro.panic.html b/anstream/macro.panic.html
index 70bf915287..b743d62501 100644
--- a/anstream/macro.panic.html
+++ b/anstream/macro.panic.html
@@ -1,4 +1,4 @@
-panic in anstream - Rust macro_rules! panic {
+panic in anstream - Rust macro_rules! panic {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Panics the current thread.
diff --git a/anstream/macro.print.html b/anstream/macro.print.html
index 9a928d207f..f2508dd5dc 100644
--- a/anstream/macro.print.html
+++ b/anstream/macro.print.html
@@ -1,4 +1,4 @@
-print in anstream - Rust macro_rules! print {
+print in anstream - Rust macro_rules! print {
($($arg:tt)*) => { ... };
}
Expand description
Prints to stdout
.
Equivalent to the println!
macro except that a newline is not printed at
diff --git a/anstream/macro.println.html b/anstream/macro.println.html
index 9fc15320e4..01efd4eee9 100644
--- a/anstream/macro.println.html
+++ b/anstream/macro.println.html
@@ -1,4 +1,4 @@
-
println in anstream - Rust macro_rules! println {
+println in anstream - Rust macro_rules! println {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Prints to stdout
, with a newline.
diff --git a/anstream/stream/index.html b/anstream/stream/index.html
index aca666e54a..524cc2c956 100644
--- a/anstream/stream/index.html
+++ b/anstream/stream/index.html
@@ -1,2 +1,2 @@
-anstream::stream - Rust Expand description
Higher-level traits to describe writeable streams
+anstream::stream - Rust Expand description
Higher-level traits to describe writeable streams
Traits§
- Lock a stream
- Trait to determine if a descriptor/handle refers to a terminal/tty.
- Required functionality for underlying
std::io::Write
for adaptation
\ No newline at end of file
diff --git a/anstream/stream/trait.AsLockedWrite.html b/anstream/stream/trait.AsLockedWrite.html
index cf5ffd5825..0e6a1ed474 100644
--- a/anstream/stream/trait.AsLockedWrite.html
+++ b/anstream/stream/trait.AsLockedWrite.html
@@ -1,4 +1,4 @@
-AsLockedWrite in anstream::stream - Rust Trait anstream::stream::AsLockedWrite
source · pub trait AsLockedWrite: Sealed {
+AsLockedWrite in anstream::stream - Rust Trait anstream::stream::AsLockedWrite
source · pub trait AsLockedWrite: Sealed {
type Write<'w>: RawStream + 'w
where Self: 'w;
diff --git a/anstream/stream/trait.IsTerminal.html b/anstream/stream/trait.IsTerminal.html
index b10efa128c..e2733cda53 100644
--- a/anstream/stream/trait.IsTerminal.html
+++ b/anstream/stream/trait.IsTerminal.html
@@ -1,6 +1,6 @@
-IsTerminal in anstream::stream - Rust Trait anstream::stream::IsTerminal
source · pub trait IsTerminal: Sealed {
+IsTerminal in anstream::stream - Rust Trait anstream::stream::IsTerminal
source · pub trait IsTerminal: Sealed {
// Required method
fn is_terminal(&self) -> bool;
}
Expand description
Trait to determine if a descriptor/handle refers to a terminal/tty.
Required Methods§
sourcefn is_terminal(&self) -> bool
Returns true
if the descriptor/handle refers to a terminal/tty.
-Implementations on Foreign Types§
source§impl IsTerminal for &mut Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StdoutLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stderr
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stdout
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StdoutLock<'_>
source§fn is_terminal(&self) -> bool
Implementors§
\ No newline at end of file
+
Implementations on Foreign Types§
source§impl IsTerminal for &mut Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StdoutLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stderr
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stdout
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StdoutLock<'_>
source§fn is_terminal(&self) -> bool
Implementors§
\ No newline at end of file
diff --git a/anstream/stream/trait.RawStream.html b/anstream/stream/trait.RawStream.html
index 6043a90163..331f33503e 100644
--- a/anstream/stream/trait.RawStream.html
+++ b/anstream/stream/trait.RawStream.html
@@ -1,2 +1,2 @@
-RawStream in anstream::stream - Rust pub trait RawStream: Write + IsTerminal + Sealed { }
Expand description
Required functionality for underlying std::io::Write
for adaptation
+RawStream in anstream::stream - Rust pub trait RawStream: Write + IsTerminal + Sealed { }
Expand description
Required functionality for underlying std::io::Write
for adaptation
Implementations on Foreign Types§
source§impl RawStream for &mut Box<dyn Write>
source§impl RawStream for &mut Vec<u8>
source§impl RawStream for &mut File
source§impl RawStream for &mut StderrLock<'_>
source§impl RawStream for &mut StdoutLock<'_>
source§impl RawStream for Box<dyn Write>
source§impl RawStream for Vec<u8>
source§impl RawStream for File
source§impl RawStream for Stderr
source§impl RawStream for StderrLock<'_>
source§impl RawStream for Stdout
source§impl RawStream for StdoutLock<'_>
Implementors§
\ No newline at end of file
diff --git a/anstream/struct.AutoStream.html b/anstream/struct.AutoStream.html
index 068b27433f..d107eee69b 100644
--- a/anstream/struct.AutoStream.html
+++ b/anstream/struct.AutoStream.html
@@ -1,4 +1,4 @@
-AutoStream in anstream - Rust Struct anstream::AutoStream
source · pub struct AutoStream<S: RawStream> { /* private fields */ }
Expand description
std::io::Write
that adapts ANSI escape codes to the underlying Write
s capabilities
+AutoStream in anstream - Rust Struct anstream::AutoStream
source · pub struct AutoStream<S: RawStream> { /* private fields */ }
Expand description
std::io::Write
that adapts ANSI escape codes to the underlying Write
s capabilities
This includes
- Stripping colors for non-terminals
diff --git a/anstream/struct.StripStream.html b/anstream/struct.StripStream.html
index 83c249d9f9..00e5edf8ac 100644
--- a/anstream/struct.StripStream.html
+++ b/anstream/struct.StripStream.html
@@ -1,4 +1,4 @@
-StripStream in anstream - Rust Struct anstream::StripStream
source · pub struct StripStream<S>where
+StripStream in anstream - Rust Struct anstream::StripStream
source · pub struct StripStream<S>where
S: Write,{ /* private fields */ }
Expand description
Only pass printable data to the inner Write
Implementations§
source§impl<S> StripStream<S>where
S: Write,
Struct anstream::adapter::StrippedStr
source · pub struct StrippedStr<'s> { /* private fields */ }
Expand description
See strip_str
Struct anstream::adapter::StrippedStr
source · pub struct StrippedStr<'s> { /* private fields */ }
Expand description
See strip_str
Implementations§
Trait Implementations§
source§impl<'s> Clone for StrippedStr<'s>
impl<'s> Clone for StrippedStr<'s>
source§impl<'s> Debug for StrippedStr<'s>
impl<'s> Debug for StrippedStr<'s>
source§impl<'s> Default for StrippedStr<'s>
impl<'s> Default for StrippedStr<'s>
source§impl<'s> Display for StrippedStr<'s>
impl<'s> Display for StrippedStr<'s>
source§impl<'s> Iterator for StrippedStr<'s>
impl<'s> Iterator for StrippedStr<'s>
source§fn next(&mut self) -> Option<Self::Item>
fn next(&mut self) -> Option<Self::Item>
source§fn next_chunk<const N: usize>(
@@ -145,7 +145,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
fn next_chunk<const N: usize>( @@ -145,7 +145,7 @@ Self: Sized, I: IntoIterator, F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
iter_order_by
)Iterator
with those
-of another with respect to the specified comparison function. Read more1.5.0 · source§fn eq<I>(self, other: I) -> boolwhere
+of another with respect to the specified comparison function. Read more
fn eq<I>(self, other: I) -> boolwhere
+of another with respect to the specified comparison function. Read more
1.5.0 · source§fn eq<I>(self, other: I) -> bool
fn eq<I>(self, other: I) -> bool
Iterator
are equal to those of
@@ -153,7 +153,7 @@
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,iter_order_by
)1.5.0 · source§fn ne<I>(self, other: I) -> boolwhere
+another with respect to the specified equality function. Read more
fn ne<I>(self, other: I) -> boolwhere
+another with respect to the specified equality function. Read more
1.5.0 · source§fn ne<I>(self, other: I) -> bool
fn ne<I>(self, other: I) -> bool
Iterator
are not equal to those of
@@ -179,8 +179,8 @@
Self: Sized,
F: FnMut(Self::Item) -> K,
K: PartialOrd,is_sorted
)source§impl<'s> PartialEq for StrippedStr<'s>
impl<'s> PartialEq for StrippedStr<'s>
source§impl<'s> PartialEq for StrippedStr<'s>
impl<'s> PartialEq for StrippedStr<'s>
source§fn eq(&self, other: &StrippedStr<'s>) -> bool
fn eq(&self, other: &StrippedStr<'s>) -> bool
self
and other
values to be equal, and is used
+by ==
.impl<'s> Eq for StrippedStr<'s>
impl<'s> StructuralPartialEq for StrippedStr<'s>
Auto Trait Implementations§
impl<'s> Freeze for StrippedStr<'s>
impl<'s> RefUnwindSafe for StrippedStr<'s>
impl<'s> Send for StrippedStr<'s>
impl<'s> Sync for StrippedStr<'s>
impl<'s> Unpin for StrippedStr<'s>
impl<'s> UnwindSafe for StrippedStr<'s>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/anstream/adapter/struct.WinconBytes.html b/anstream/adapter/struct.WinconBytes.html
index 69eaf0f63f..dae2e79899 100644
--- a/anstream/adapter/struct.WinconBytes.html
+++ b/anstream/adapter/struct.WinconBytes.html
@@ -1,4 +1,4 @@
-WinconBytes in anstream::adapter - Rust Struct anstream::adapter::WinconBytes
source · pub struct WinconBytes { /* private fields */ }
Expand description
Incrementally convert to wincon calls for non-contiguous data
+WinconBytes in anstream::adapter - Rust Struct anstream::adapter::WinconBytes
source · pub struct WinconBytes { /* private fields */ }
Expand description
Incrementally convert to wincon calls for non-contiguous data
Implementations§
source§impl WinconBytes
sourcepub fn extract_next<'s>(&'s mut self, bytes: &'s [u8]) -> WinconBytesIter<'s> ⓘ
Strip the next segment of data
Trait Implementations§
source§impl Clone for WinconBytes
source§fn clone(&self) -> WinconBytes
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for WinconBytes
source§impl Default for WinconBytes
source§fn default() -> WinconBytes
Returns the “default value” for a type. Read moresource§impl PartialEq for WinconBytes
source§fn eq(&self, other: &WinconBytes) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/anstream/adapter/struct.WinconBytesIter.html b/anstream/adapter/struct.WinconBytesIter.html
index 4be27d4f12..417f7b67c8 100644
--- a/anstream/adapter/struct.WinconBytesIter.html
+++ b/anstream/adapter/struct.WinconBytesIter.html
@@ -1,4 +1,4 @@
-WinconBytesIter in anstream::adapter - Rust Struct anstream::adapter::WinconBytesIter
source · pub struct WinconBytesIter<'s> { /* private fields */ }
Expand description
See WinconBytes
+WinconBytesIter in anstream::adapter - Rust Struct anstream::adapter::WinconBytesIter
source · pub struct WinconBytesIter<'s> { /* private fields */ }
Expand description
See WinconBytes
Trait Implementations§
source§impl<'s> Debug for WinconBytesIter<'s>
source§impl<'s> Iterator for WinconBytesIter<'s>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
diff --git a/anstream/all.html b/anstream/all.html
index d76e2d982e..3af88d5e02 100644
--- a/anstream/all.html
+++ b/anstream/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- AutoStream
- StripStream
- adapter::StripBytes
- adapter::StripBytesIter
- adapter::StripStr
- adapter::StripStrIter
- adapter::StrippedBytes
- adapter::StrippedStr
- adapter::WinconBytes
- adapter::WinconBytesIter
Enums
Traits
Macros
Functions
Type Aliases
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- AutoStream
- StripStream
- adapter::StripBytes
- adapter::StripBytesIter
- adapter::StripStr
- adapter::StripStrIter
- adapter::StrippedBytes
- adapter::StrippedStr
- adapter::WinconBytes
- adapter::WinconBytesIter
Enums
Traits
Macros
Functions
Type Aliases
\ No newline at end of file
diff --git a/anstream/enum.ColorChoice.html b/anstream/enum.ColorChoice.html
index 388a018d5c..ff06b2f3c6 100644
--- a/anstream/enum.ColorChoice.html
+++ b/anstream/enum.ColorChoice.html
@@ -1,4 +1,4 @@
-ColorChoice in anstream - Rust Enum anstream::ColorChoice
source · pub enum ColorChoice {
+ColorChoice in anstream - Rust Enum anstream::ColorChoice
source · pub enum ColorChoice {
Auto,
AlwaysAnsi,
Always,
diff --git a/anstream/fn.stderr.html b/anstream/fn.stderr.html
index 4e8d0f7d3c..e11555778f 100644
--- a/anstream/fn.stderr.html
+++ b/anstream/fn.stderr.html
@@ -1,4 +1,4 @@
-stderr in anstream - Rust pub fn stderr() -> Stderr
Expand description
Create an ANSI escape code compatible stderr
+stderr in anstream - Rust pub fn stderr() -> Stderr
Expand description
Create an ANSI escape code compatible stderr
Note: Call AutoStream::lock
in loops to avoid the performance hit of acquiring/releasing
from the implicit locking in each std::io::Write
call
\ No newline at end of file
diff --git a/anstream/fn.stdout.html b/anstream/fn.stdout.html
index 1a956275b5..cd5dea1ba5 100644
--- a/anstream/fn.stdout.html
+++ b/anstream/fn.stdout.html
@@ -1,4 +1,4 @@
-stdout in anstream - Rust pub fn stdout() -> Stdout
Expand description
Create an ANSI escape code compatible stdout
+stdout in anstream - Rust pub fn stdout() -> Stdout
Expand description
Create an ANSI escape code compatible stdout
Note: Call AutoStream::lock
in loops to avoid the performance hit of acquiring/releasing
from the implicit locking in each std::io::Write
call
\ No newline at end of file
diff --git a/anstream/index.html b/anstream/index.html
index c7d93ce4ac..9567305620 100644
--- a/anstream/index.html
+++ b/anstream/index.html
@@ -1,4 +1,4 @@
-anstream - Rust Expand description
Auto-adapting stdout
/ stderr
streams
+anstream - Rust Expand description
Auto-adapting stdout
/ stderr
streams
A portmanteau of “ansi stream”
AutoStream
always accepts ANSI escape codes,
adapting to the user’s terminal’s capabilities.
@@ -10,8 +10,7 @@
Available styling crates:
-- anstyle for minimal runtime styling, designed to go in public APIs
-(once it hits 1.0)
+- anstyle for minimal runtime styling, designed to go in public APIs
- owo-colors for feature-rich runtime styling
- color-print for feature-rich compile-time styling
diff --git a/anstream/macro.eprint.html b/anstream/macro.eprint.html
index e6ccc3d1aa..7f0281e382 100644
--- a/anstream/macro.eprint.html
+++ b/anstream/macro.eprint.html
@@ -1,4 +1,4 @@
-eprint in anstream - Rust macro_rules! eprint {
+eprint in anstream - Rust macro_rules! eprint {
($($arg:tt)*) => { ... };
}
Expand description
Prints to stderr
.
Equivalent to the print!
macro, except that output goes to
diff --git a/anstream/macro.eprintln.html b/anstream/macro.eprintln.html
index 74e26328b5..5618ba5c7f 100644
--- a/anstream/macro.eprintln.html
+++ b/anstream/macro.eprintln.html
@@ -1,4 +1,4 @@
-
eprintln in anstream - Rust macro_rules! eprintln {
+eprintln in anstream - Rust macro_rules! eprintln {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Prints to stderr
, with a newline.
diff --git a/anstream/macro.panic.html b/anstream/macro.panic.html
index 70bf915287..b743d62501 100644
--- a/anstream/macro.panic.html
+++ b/anstream/macro.panic.html
@@ -1,4 +1,4 @@
-panic in anstream - Rust macro_rules! panic {
+panic in anstream - Rust macro_rules! panic {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Panics the current thread.
diff --git a/anstream/macro.print.html b/anstream/macro.print.html
index 9a928d207f..f2508dd5dc 100644
--- a/anstream/macro.print.html
+++ b/anstream/macro.print.html
@@ -1,4 +1,4 @@
-print in anstream - Rust macro_rules! print {
+print in anstream - Rust macro_rules! print {
($($arg:tt)*) => { ... };
}
Expand description
Prints to stdout
.
Equivalent to the println!
macro except that a newline is not printed at
diff --git a/anstream/macro.println.html b/anstream/macro.println.html
index 9fc15320e4..01efd4eee9 100644
--- a/anstream/macro.println.html
+++ b/anstream/macro.println.html
@@ -1,4 +1,4 @@
-
println in anstream - Rust macro_rules! println {
+println in anstream - Rust macro_rules! println {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Prints to stdout
, with a newline.
diff --git a/anstream/stream/index.html b/anstream/stream/index.html
index aca666e54a..524cc2c956 100644
--- a/anstream/stream/index.html
+++ b/anstream/stream/index.html
@@ -1,2 +1,2 @@
-anstream::stream - Rust Expand description
Higher-level traits to describe writeable streams
+anstream::stream - Rust Expand description
Higher-level traits to describe writeable streams
Traits§
- Lock a stream
- Trait to determine if a descriptor/handle refers to a terminal/tty.
- Required functionality for underlying
std::io::Write
for adaptation
\ No newline at end of file
diff --git a/anstream/stream/trait.AsLockedWrite.html b/anstream/stream/trait.AsLockedWrite.html
index cf5ffd5825..0e6a1ed474 100644
--- a/anstream/stream/trait.AsLockedWrite.html
+++ b/anstream/stream/trait.AsLockedWrite.html
@@ -1,4 +1,4 @@
-AsLockedWrite in anstream::stream - Rust Trait anstream::stream::AsLockedWrite
source · pub trait AsLockedWrite: Sealed {
+AsLockedWrite in anstream::stream - Rust Trait anstream::stream::AsLockedWrite
source · pub trait AsLockedWrite: Sealed {
type Write<'w>: RawStream + 'w
where Self: 'w;
diff --git a/anstream/stream/trait.IsTerminal.html b/anstream/stream/trait.IsTerminal.html
index b10efa128c..e2733cda53 100644
--- a/anstream/stream/trait.IsTerminal.html
+++ b/anstream/stream/trait.IsTerminal.html
@@ -1,6 +1,6 @@
-IsTerminal in anstream::stream - Rust Trait anstream::stream::IsTerminal
source · pub trait IsTerminal: Sealed {
+IsTerminal in anstream::stream - Rust Trait anstream::stream::IsTerminal
source · pub trait IsTerminal: Sealed {
// Required method
fn is_terminal(&self) -> bool;
}
Expand description
Trait to determine if a descriptor/handle refers to a terminal/tty.
Required Methods§
sourcefn is_terminal(&self) -> bool
Returns true
if the descriptor/handle refers to a terminal/tty.
-Implementations on Foreign Types§
source§impl IsTerminal for &mut Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StdoutLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stderr
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stdout
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StdoutLock<'_>
source§fn is_terminal(&self) -> bool
Implementors§
\ No newline at end of file
+
Implementations on Foreign Types§
source§impl IsTerminal for &mut Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StdoutLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stderr
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stdout
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StdoutLock<'_>
source§fn is_terminal(&self) -> bool
Implementors§
\ No newline at end of file
diff --git a/anstream/stream/trait.RawStream.html b/anstream/stream/trait.RawStream.html
index 6043a90163..331f33503e 100644
--- a/anstream/stream/trait.RawStream.html
+++ b/anstream/stream/trait.RawStream.html
@@ -1,2 +1,2 @@
-RawStream in anstream::stream - Rust pub trait RawStream: Write + IsTerminal + Sealed { }
Expand description
Required functionality for underlying std::io::Write
for adaptation
+RawStream in anstream::stream - Rust pub trait RawStream: Write + IsTerminal + Sealed { }
Expand description
Required functionality for underlying std::io::Write
for adaptation
Implementations on Foreign Types§
source§impl RawStream for &mut Box<dyn Write>
source§impl RawStream for &mut Vec<u8>
source§impl RawStream for &mut File
source§impl RawStream for &mut StderrLock<'_>
source§impl RawStream for &mut StdoutLock<'_>
source§impl RawStream for Box<dyn Write>
source§impl RawStream for Vec<u8>
source§impl RawStream for File
source§impl RawStream for Stderr
source§impl RawStream for StderrLock<'_>
source§impl RawStream for Stdout
source§impl RawStream for StdoutLock<'_>
Implementors§
\ No newline at end of file
diff --git a/anstream/struct.AutoStream.html b/anstream/struct.AutoStream.html
index 068b27433f..d107eee69b 100644
--- a/anstream/struct.AutoStream.html
+++ b/anstream/struct.AutoStream.html
@@ -1,4 +1,4 @@
-AutoStream in anstream - Rust Struct anstream::AutoStream
source · pub struct AutoStream<S: RawStream> { /* private fields */ }
Expand description
std::io::Write
that adapts ANSI escape codes to the underlying Write
s capabilities
+AutoStream in anstream - Rust Struct anstream::AutoStream
source · pub struct AutoStream<S: RawStream> { /* private fields */ }
Expand description
std::io::Write
that adapts ANSI escape codes to the underlying Write
s capabilities
This includes
- Stripping colors for non-terminals
diff --git a/anstream/struct.StripStream.html b/anstream/struct.StripStream.html
index 83c249d9f9..00e5edf8ac 100644
--- a/anstream/struct.StripStream.html
+++ b/anstream/struct.StripStream.html
@@ -1,4 +1,4 @@
-StripStream in anstream - Rust Struct anstream::StripStream
source · pub struct StripStream<S>where
+StripStream in anstream - Rust Struct anstream::StripStream
source · pub struct StripStream<S>where
S: Write,{ /* private fields */ }
Expand description
Only pass printable data to the inner Write
Implementations§
source§impl<S> StripStream<S>where
S: Write,
impl<T> BorrowMut<T> for Twhere
diff --git a/anstream/adapter/struct.WinconBytes.html b/anstream/adapter/struct.WinconBytes.html
index 69eaf0f63f..dae2e79899 100644
--- a/anstream/adapter/struct.WinconBytes.html
+++ b/anstream/adapter/struct.WinconBytes.html
@@ -1,4 +1,4 @@
-WinconBytes in anstream::adapter - Rust Struct anstream::adapter::WinconBytes
source · pub struct WinconBytes { /* private fields */ }
Expand description
Incrementally convert to wincon calls for non-contiguous data
+WinconBytes in anstream::adapter - Rust Struct anstream::adapter::WinconBytes
source · pub struct WinconBytes { /* private fields */ }
Expand description
Incrementally convert to wincon calls for non-contiguous data
Implementations§
source§impl WinconBytes
sourcepub fn extract_next<'s>(&'s mut self, bytes: &'s [u8]) -> WinconBytesIter<'s> ⓘ
Strip the next segment of data
Trait Implementations§
source§impl Clone for WinconBytes
source§fn clone(&self) -> WinconBytes
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for WinconBytes
source§impl Default for WinconBytes
source§fn default() -> WinconBytes
Returns the “default value” for a type. Read moresource§impl PartialEq for WinconBytes
source§fn eq(&self, other: &WinconBytes) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/anstream/adapter/struct.WinconBytesIter.html b/anstream/adapter/struct.WinconBytesIter.html
index 4be27d4f12..417f7b67c8 100644
--- a/anstream/adapter/struct.WinconBytesIter.html
+++ b/anstream/adapter/struct.WinconBytesIter.html
@@ -1,4 +1,4 @@
-WinconBytesIter in anstream::adapter - Rust Struct anstream::adapter::WinconBytesIter
source · pub struct WinconBytesIter<'s> { /* private fields */ }
Expand description
See WinconBytes
+WinconBytesIter in anstream::adapter - Rust Struct anstream::adapter::WinconBytesIter
source · pub struct WinconBytesIter<'s> { /* private fields */ }
Expand description
See WinconBytes
Trait Implementations§
source§impl<'s> Debug for WinconBytesIter<'s>
source§impl<'s> Iterator for WinconBytesIter<'s>
source§fn next(&mut self) -> Option<Self::Item>
Advances the iterator and returns the next value. Read moresource§fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
diff --git a/anstream/all.html b/anstream/all.html
index d76e2d982e..3af88d5e02 100644
--- a/anstream/all.html
+++ b/anstream/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- AutoStream
- StripStream
- adapter::StripBytes
- adapter::StripBytesIter
- adapter::StripStr
- adapter::StripStrIter
- adapter::StrippedBytes
- adapter::StrippedStr
- adapter::WinconBytes
- adapter::WinconBytesIter
Enums
Traits
Macros
Functions
Type Aliases
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- AutoStream
- StripStream
- adapter::StripBytes
- adapter::StripBytesIter
- adapter::StripStr
- adapter::StripStrIter
- adapter::StrippedBytes
- adapter::StrippedStr
- adapter::WinconBytes
- adapter::WinconBytesIter
Enums
Traits
Macros
Functions
Type Aliases
\ No newline at end of file
diff --git a/anstream/enum.ColorChoice.html b/anstream/enum.ColorChoice.html
index 388a018d5c..ff06b2f3c6 100644
--- a/anstream/enum.ColorChoice.html
+++ b/anstream/enum.ColorChoice.html
@@ -1,4 +1,4 @@
-ColorChoice in anstream - Rust Enum anstream::ColorChoice
source · pub enum ColorChoice {
+ColorChoice in anstream - Rust Enum anstream::ColorChoice
source · pub enum ColorChoice {
Auto,
AlwaysAnsi,
Always,
diff --git a/anstream/fn.stderr.html b/anstream/fn.stderr.html
index 4e8d0f7d3c..e11555778f 100644
--- a/anstream/fn.stderr.html
+++ b/anstream/fn.stderr.html
@@ -1,4 +1,4 @@
-stderr in anstream - Rust pub fn stderr() -> Stderr
Expand description
Create an ANSI escape code compatible stderr
+stderr in anstream - Rust pub fn stderr() -> Stderr
Expand description
Create an ANSI escape code compatible stderr
Note: Call AutoStream::lock
in loops to avoid the performance hit of acquiring/releasing
from the implicit locking in each std::io::Write
call
\ No newline at end of file
diff --git a/anstream/fn.stdout.html b/anstream/fn.stdout.html
index 1a956275b5..cd5dea1ba5 100644
--- a/anstream/fn.stdout.html
+++ b/anstream/fn.stdout.html
@@ -1,4 +1,4 @@
-stdout in anstream - Rust pub fn stdout() -> Stdout
Expand description
Create an ANSI escape code compatible stdout
+stdout in anstream - Rust pub fn stdout() -> Stdout
Expand description
Create an ANSI escape code compatible stdout
Note: Call AutoStream::lock
in loops to avoid the performance hit of acquiring/releasing
from the implicit locking in each std::io::Write
call
\ No newline at end of file
diff --git a/anstream/index.html b/anstream/index.html
index c7d93ce4ac..9567305620 100644
--- a/anstream/index.html
+++ b/anstream/index.html
@@ -1,4 +1,4 @@
-anstream - Rust Expand description
Auto-adapting stdout
/ stderr
streams
+anstream - Rust Expand description
Auto-adapting stdout
/ stderr
streams
A portmanteau of “ansi stream”
AutoStream
always accepts ANSI escape codes,
adapting to the user’s terminal’s capabilities.
@@ -10,8 +10,7 @@
Available styling crates:
-- anstyle for minimal runtime styling, designed to go in public APIs
-(once it hits 1.0)
+- anstyle for minimal runtime styling, designed to go in public APIs
- owo-colors for feature-rich runtime styling
- color-print for feature-rich compile-time styling
diff --git a/anstream/macro.eprint.html b/anstream/macro.eprint.html
index e6ccc3d1aa..7f0281e382 100644
--- a/anstream/macro.eprint.html
+++ b/anstream/macro.eprint.html
@@ -1,4 +1,4 @@
-eprint in anstream - Rust macro_rules! eprint {
+eprint in anstream - Rust macro_rules! eprint {
($($arg:tt)*) => { ... };
}
Expand description
Prints to stderr
.
Equivalent to the print!
macro, except that output goes to
diff --git a/anstream/macro.eprintln.html b/anstream/macro.eprintln.html
index 74e26328b5..5618ba5c7f 100644
--- a/anstream/macro.eprintln.html
+++ b/anstream/macro.eprintln.html
@@ -1,4 +1,4 @@
-
eprintln in anstream - Rust macro_rules! eprintln {
+eprintln in anstream - Rust macro_rules! eprintln {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Prints to stderr
, with a newline.
diff --git a/anstream/macro.panic.html b/anstream/macro.panic.html
index 70bf915287..b743d62501 100644
--- a/anstream/macro.panic.html
+++ b/anstream/macro.panic.html
@@ -1,4 +1,4 @@
-panic in anstream - Rust macro_rules! panic {
+panic in anstream - Rust macro_rules! panic {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Panics the current thread.
diff --git a/anstream/macro.print.html b/anstream/macro.print.html
index 9a928d207f..f2508dd5dc 100644
--- a/anstream/macro.print.html
+++ b/anstream/macro.print.html
@@ -1,4 +1,4 @@
-print in anstream - Rust macro_rules! print {
+print in anstream - Rust macro_rules! print {
($($arg:tt)*) => { ... };
}
Expand description
Prints to stdout
.
Equivalent to the println!
macro except that a newline is not printed at
diff --git a/anstream/macro.println.html b/anstream/macro.println.html
index 9fc15320e4..01efd4eee9 100644
--- a/anstream/macro.println.html
+++ b/anstream/macro.println.html
@@ -1,4 +1,4 @@
-
println in anstream - Rust macro_rules! println {
+println in anstream - Rust macro_rules! println {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Prints to stdout
, with a newline.
diff --git a/anstream/stream/index.html b/anstream/stream/index.html
index aca666e54a..524cc2c956 100644
--- a/anstream/stream/index.html
+++ b/anstream/stream/index.html
@@ -1,2 +1,2 @@
-anstream::stream - Rust Expand description
Higher-level traits to describe writeable streams
+anstream::stream - Rust Expand description
Higher-level traits to describe writeable streams
Traits§
- Lock a stream
- Trait to determine if a descriptor/handle refers to a terminal/tty.
- Required functionality for underlying
std::io::Write
for adaptation
\ No newline at end of file
diff --git a/anstream/stream/trait.AsLockedWrite.html b/anstream/stream/trait.AsLockedWrite.html
index cf5ffd5825..0e6a1ed474 100644
--- a/anstream/stream/trait.AsLockedWrite.html
+++ b/anstream/stream/trait.AsLockedWrite.html
@@ -1,4 +1,4 @@
-AsLockedWrite in anstream::stream - Rust Trait anstream::stream::AsLockedWrite
source · pub trait AsLockedWrite: Sealed {
+AsLockedWrite in anstream::stream - Rust Trait anstream::stream::AsLockedWrite
source · pub trait AsLockedWrite: Sealed {
type Write<'w>: RawStream + 'w
where Self: 'w;
diff --git a/anstream/stream/trait.IsTerminal.html b/anstream/stream/trait.IsTerminal.html
index b10efa128c..e2733cda53 100644
--- a/anstream/stream/trait.IsTerminal.html
+++ b/anstream/stream/trait.IsTerminal.html
@@ -1,6 +1,6 @@
-IsTerminal in anstream::stream - Rust Trait anstream::stream::IsTerminal
source · pub trait IsTerminal: Sealed {
+IsTerminal in anstream::stream - Rust Trait anstream::stream::IsTerminal
source · pub trait IsTerminal: Sealed {
// Required method
fn is_terminal(&self) -> bool;
}
Expand description
Trait to determine if a descriptor/handle refers to a terminal/tty.
Required Methods§
sourcefn is_terminal(&self) -> bool
Returns true
if the descriptor/handle refers to a terminal/tty.
-Implementations on Foreign Types§
source§impl IsTerminal for &mut Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StdoutLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stderr
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stdout
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StdoutLock<'_>
source§fn is_terminal(&self) -> bool
Implementors§
\ No newline at end of file
+
Implementations on Foreign Types§
source§impl IsTerminal for &mut Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StdoutLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stderr
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stdout
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StdoutLock<'_>
source§fn is_terminal(&self) -> bool
Implementors§
\ No newline at end of file
diff --git a/anstream/stream/trait.RawStream.html b/anstream/stream/trait.RawStream.html
index 6043a90163..331f33503e 100644
--- a/anstream/stream/trait.RawStream.html
+++ b/anstream/stream/trait.RawStream.html
@@ -1,2 +1,2 @@
-RawStream in anstream::stream - Rust pub trait RawStream: Write + IsTerminal + Sealed { }
Expand description
Required functionality for underlying std::io::Write
for adaptation
+RawStream in anstream::stream - Rust pub trait RawStream: Write + IsTerminal + Sealed { }
Expand description
Required functionality for underlying std::io::Write
for adaptation
Implementations on Foreign Types§
source§impl RawStream for &mut Box<dyn Write>
source§impl RawStream for &mut Vec<u8>
source§impl RawStream for &mut File
source§impl RawStream for &mut StderrLock<'_>
source§impl RawStream for &mut StdoutLock<'_>
source§impl RawStream for Box<dyn Write>
source§impl RawStream for Vec<u8>
source§impl RawStream for File
source§impl RawStream for Stderr
source§impl RawStream for StderrLock<'_>
source§impl RawStream for Stdout
source§impl RawStream for StdoutLock<'_>
Implementors§
\ No newline at end of file
diff --git a/anstream/struct.AutoStream.html b/anstream/struct.AutoStream.html
index 068b27433f..d107eee69b 100644
--- a/anstream/struct.AutoStream.html
+++ b/anstream/struct.AutoStream.html
@@ -1,4 +1,4 @@
-AutoStream in anstream - Rust Struct anstream::AutoStream
source · pub struct AutoStream<S: RawStream> { /* private fields */ }
Expand description
std::io::Write
that adapts ANSI escape codes to the underlying Write
s capabilities
+AutoStream in anstream - Rust Struct anstream::AutoStream
source · pub struct AutoStream<S: RawStream> { /* private fields */ }
Expand description
std::io::Write
that adapts ANSI escape codes to the underlying Write
s capabilities
This includes
- Stripping colors for non-terminals
diff --git a/anstream/struct.StripStream.html b/anstream/struct.StripStream.html
index 83c249d9f9..00e5edf8ac 100644
--- a/anstream/struct.StripStream.html
+++ b/anstream/struct.StripStream.html
@@ -1,4 +1,4 @@
-StripStream in anstream - Rust Struct anstream::StripStream
source · pub struct StripStream<S>where
+StripStream in anstream - Rust Struct anstream::StripStream
source · pub struct StripStream<S>where
S: Write,{ /* private fields */ }
Expand description
Only pass printable data to the inner Write
Implementations§
source§impl<S> StripStream<S>where
S: Write,
Struct anstream::adapter::WinconBytes
source · pub struct WinconBytes { /* private fields */ }
Expand description
Incrementally convert to wincon calls for non-contiguous data
+Struct anstream::adapter::WinconBytes
source · pub struct WinconBytes { /* private fields */ }
Expand description
Incrementally convert to wincon calls for non-contiguous data
Implementations§
source§impl WinconBytes
impl WinconBytes
sourcepub fn extract_next<'s>(&'s mut self, bytes: &'s [u8]) -> WinconBytesIter<'s> ⓘ
pub fn extract_next<'s>(&'s mut self, bytes: &'s [u8]) -> WinconBytesIter<'s> ⓘ
Strip the next segment of data
Trait Implementations§
source§impl Clone for WinconBytes
impl Clone for WinconBytes
source§fn clone(&self) -> WinconBytes
fn clone(&self) -> WinconBytes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WinconBytes
impl Debug for WinconBytes
source§impl Default for WinconBytes
impl Default for WinconBytes
source§fn default() -> WinconBytes
fn default() -> WinconBytes
source§impl PartialEq for WinconBytes
impl PartialEq for WinconBytes
source§fn eq(&self, other: &WinconBytes) -> bool
fn eq(&self, other: &WinconBytes) -> bool
self
and other
values to be equal, and is used
diff --git a/anstream/adapter/struct.WinconBytesIter.html b/anstream/adapter/struct.WinconBytesIter.html
index 4be27d4f12..417f7b67c8 100644
--- a/anstream/adapter/struct.WinconBytesIter.html
+++ b/anstream/adapter/struct.WinconBytesIter.html
@@ -1,4 +1,4 @@
-Struct anstream::adapter::WinconBytesIter
source · pub struct WinconBytesIter<'s> { /* private fields */ }
Expand description
See WinconBytes
Struct anstream::adapter::WinconBytesIter
source · pub struct WinconBytesIter<'s> { /* private fields */ }
Expand description
See WinconBytes
Trait Implementations§
source§impl<'s> Debug for WinconBytesIter<'s>
impl<'s> Debug for WinconBytesIter<'s>
source§impl<'s> Iterator for WinconBytesIter<'s>
impl<'s> Iterator for WinconBytesIter<'s>
source§fn next(&mut self) -> Option<Self::Item>
fn next(&mut self) -> Option<Self::Item>
source§fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
diff --git a/anstream/all.html b/anstream/all.html
index d76e2d982e..3af88d5e02 100644
--- a/anstream/all.html
+++ b/anstream/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- AutoStream
- StripStream
- adapter::StripBytes
- adapter::StripBytesIter
- adapter::StripStr
- adapter::StripStrIter
- adapter::StrippedBytes
- adapter::StrippedStr
- adapter::WinconBytes
- adapter::WinconBytesIter
Enums
Traits
Macros
Functions
Type Aliases
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- AutoStream
- StripStream
- adapter::StripBytes
- adapter::StripBytesIter
- adapter::StripStr
- adapter::StripStrIter
- adapter::StrippedBytes
- adapter::StrippedStr
- adapter::WinconBytes
- adapter::WinconBytesIter
Enums
Traits
Macros
Functions
Type Aliases
\ No newline at end of file
diff --git a/anstream/enum.ColorChoice.html b/anstream/enum.ColorChoice.html
index 388a018d5c..ff06b2f3c6 100644
--- a/anstream/enum.ColorChoice.html
+++ b/anstream/enum.ColorChoice.html
@@ -1,4 +1,4 @@
-ColorChoice in anstream - Rust Enum anstream::ColorChoice
source · pub enum ColorChoice {
+ColorChoice in anstream - Rust Enum anstream::ColorChoice
source · pub enum ColorChoice {
Auto,
AlwaysAnsi,
Always,
diff --git a/anstream/fn.stderr.html b/anstream/fn.stderr.html
index 4e8d0f7d3c..e11555778f 100644
--- a/anstream/fn.stderr.html
+++ b/anstream/fn.stderr.html
@@ -1,4 +1,4 @@
-stderr in anstream - Rust pub fn stderr() -> Stderr
Expand description
Create an ANSI escape code compatible stderr
+stderr in anstream - Rust pub fn stderr() -> Stderr
Expand description
Create an ANSI escape code compatible stderr
Note: Call AutoStream::lock
in loops to avoid the performance hit of acquiring/releasing
from the implicit locking in each std::io::Write
call
\ No newline at end of file
diff --git a/anstream/fn.stdout.html b/anstream/fn.stdout.html
index 1a956275b5..cd5dea1ba5 100644
--- a/anstream/fn.stdout.html
+++ b/anstream/fn.stdout.html
@@ -1,4 +1,4 @@
-stdout in anstream - Rust pub fn stdout() -> Stdout
Expand description
Create an ANSI escape code compatible stdout
+stdout in anstream - Rust pub fn stdout() -> Stdout
Expand description
Create an ANSI escape code compatible stdout
Note: Call AutoStream::lock
in loops to avoid the performance hit of acquiring/releasing
from the implicit locking in each std::io::Write
call
\ No newline at end of file
diff --git a/anstream/index.html b/anstream/index.html
index c7d93ce4ac..9567305620 100644
--- a/anstream/index.html
+++ b/anstream/index.html
@@ -1,4 +1,4 @@
-anstream - Rust Expand description
Auto-adapting stdout
/ stderr
streams
+anstream - Rust Expand description
Auto-adapting stdout
/ stderr
streams
A portmanteau of “ansi stream”
AutoStream
always accepts ANSI escape codes,
adapting to the user’s terminal’s capabilities.
@@ -10,8 +10,7 @@
Available styling crates:
-- anstyle for minimal runtime styling, designed to go in public APIs
-(once it hits 1.0)
+- anstyle for minimal runtime styling, designed to go in public APIs
- owo-colors for feature-rich runtime styling
- color-print for feature-rich compile-time styling
diff --git a/anstream/macro.eprint.html b/anstream/macro.eprint.html
index e6ccc3d1aa..7f0281e382 100644
--- a/anstream/macro.eprint.html
+++ b/anstream/macro.eprint.html
@@ -1,4 +1,4 @@
-eprint in anstream - Rust macro_rules! eprint {
+eprint in anstream - Rust macro_rules! eprint {
($($arg:tt)*) => { ... };
}
Expand description
Prints to stderr
.
Equivalent to the print!
macro, except that output goes to
diff --git a/anstream/macro.eprintln.html b/anstream/macro.eprintln.html
index 74e26328b5..5618ba5c7f 100644
--- a/anstream/macro.eprintln.html
+++ b/anstream/macro.eprintln.html
@@ -1,4 +1,4 @@
-
eprintln in anstream - Rust macro_rules! eprintln {
+eprintln in anstream - Rust macro_rules! eprintln {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Prints to stderr
, with a newline.
diff --git a/anstream/macro.panic.html b/anstream/macro.panic.html
index 70bf915287..b743d62501 100644
--- a/anstream/macro.panic.html
+++ b/anstream/macro.panic.html
@@ -1,4 +1,4 @@
-panic in anstream - Rust macro_rules! panic {
+panic in anstream - Rust macro_rules! panic {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Panics the current thread.
diff --git a/anstream/macro.print.html b/anstream/macro.print.html
index 9a928d207f..f2508dd5dc 100644
--- a/anstream/macro.print.html
+++ b/anstream/macro.print.html
@@ -1,4 +1,4 @@
-print in anstream - Rust macro_rules! print {
+print in anstream - Rust macro_rules! print {
($($arg:tt)*) => { ... };
}
Expand description
Prints to stdout
.
Equivalent to the println!
macro except that a newline is not printed at
diff --git a/anstream/macro.println.html b/anstream/macro.println.html
index 9fc15320e4..01efd4eee9 100644
--- a/anstream/macro.println.html
+++ b/anstream/macro.println.html
@@ -1,4 +1,4 @@
-
println in anstream - Rust macro_rules! println {
+println in anstream - Rust macro_rules! println {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Prints to stdout
, with a newline.
diff --git a/anstream/stream/index.html b/anstream/stream/index.html
index aca666e54a..524cc2c956 100644
--- a/anstream/stream/index.html
+++ b/anstream/stream/index.html
@@ -1,2 +1,2 @@
-anstream::stream - Rust Expand description
Higher-level traits to describe writeable streams
+anstream::stream - Rust Expand description
Higher-level traits to describe writeable streams
Traits§
- Lock a stream
- Trait to determine if a descriptor/handle refers to a terminal/tty.
- Required functionality for underlying
std::io::Write
for adaptation
\ No newline at end of file
diff --git a/anstream/stream/trait.AsLockedWrite.html b/anstream/stream/trait.AsLockedWrite.html
index cf5ffd5825..0e6a1ed474 100644
--- a/anstream/stream/trait.AsLockedWrite.html
+++ b/anstream/stream/trait.AsLockedWrite.html
@@ -1,4 +1,4 @@
-AsLockedWrite in anstream::stream - Rust Trait anstream::stream::AsLockedWrite
source · pub trait AsLockedWrite: Sealed {
+AsLockedWrite in anstream::stream - Rust Trait anstream::stream::AsLockedWrite
source · pub trait AsLockedWrite: Sealed {
type Write<'w>: RawStream + 'w
where Self: 'w;
diff --git a/anstream/stream/trait.IsTerminal.html b/anstream/stream/trait.IsTerminal.html
index b10efa128c..e2733cda53 100644
--- a/anstream/stream/trait.IsTerminal.html
+++ b/anstream/stream/trait.IsTerminal.html
@@ -1,6 +1,6 @@
-IsTerminal in anstream::stream - Rust Trait anstream::stream::IsTerminal
source · pub trait IsTerminal: Sealed {
+IsTerminal in anstream::stream - Rust Trait anstream::stream::IsTerminal
source · pub trait IsTerminal: Sealed {
// Required method
fn is_terminal(&self) -> bool;
}
Expand description
Trait to determine if a descriptor/handle refers to a terminal/tty.
Required Methods§
sourcefn is_terminal(&self) -> bool
Returns true
if the descriptor/handle refers to a terminal/tty.
-Implementations on Foreign Types§
source§impl IsTerminal for &mut Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StdoutLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stderr
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stdout
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StdoutLock<'_>
source§fn is_terminal(&self) -> bool
Implementors§
\ No newline at end of file
+
Implementations on Foreign Types§
source§impl IsTerminal for &mut Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StdoutLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stderr
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stdout
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StdoutLock<'_>
source§fn is_terminal(&self) -> bool
Implementors§
\ No newline at end of file
diff --git a/anstream/stream/trait.RawStream.html b/anstream/stream/trait.RawStream.html
index 6043a90163..331f33503e 100644
--- a/anstream/stream/trait.RawStream.html
+++ b/anstream/stream/trait.RawStream.html
@@ -1,2 +1,2 @@
-RawStream in anstream::stream - Rust pub trait RawStream: Write + IsTerminal + Sealed { }
Expand description
Required functionality for underlying std::io::Write
for adaptation
+RawStream in anstream::stream - Rust pub trait RawStream: Write + IsTerminal + Sealed { }
Expand description
Required functionality for underlying std::io::Write
for adaptation
Implementations on Foreign Types§
source§impl RawStream for &mut Box<dyn Write>
source§impl RawStream for &mut Vec<u8>
source§impl RawStream for &mut File
source§impl RawStream for &mut StderrLock<'_>
source§impl RawStream for &mut StdoutLock<'_>
source§impl RawStream for Box<dyn Write>
source§impl RawStream for Vec<u8>
source§impl RawStream for File
source§impl RawStream for Stderr
source§impl RawStream for StderrLock<'_>
source§impl RawStream for Stdout
source§impl RawStream for StdoutLock<'_>
Implementors§
\ No newline at end of file
diff --git a/anstream/struct.AutoStream.html b/anstream/struct.AutoStream.html
index 068b27433f..d107eee69b 100644
--- a/anstream/struct.AutoStream.html
+++ b/anstream/struct.AutoStream.html
@@ -1,4 +1,4 @@
-AutoStream in anstream - Rust Struct anstream::AutoStream
source · pub struct AutoStream<S: RawStream> { /* private fields */ }
Expand description
std::io::Write
that adapts ANSI escape codes to the underlying Write
s capabilities
+AutoStream in anstream - Rust Struct anstream::AutoStream
source · pub struct AutoStream<S: RawStream> { /* private fields */ }
Expand description
std::io::Write
that adapts ANSI escape codes to the underlying Write
s capabilities
This includes
- Stripping colors for non-terminals
diff --git a/anstream/struct.StripStream.html b/anstream/struct.StripStream.html
index 83c249d9f9..00e5edf8ac 100644
--- a/anstream/struct.StripStream.html
+++ b/anstream/struct.StripStream.html
@@ -1,4 +1,4 @@
-StripStream in anstream - Rust Struct anstream::StripStream
source · pub struct StripStream<S>where
+StripStream in anstream - Rust Struct anstream::StripStream
source · pub struct StripStream<S>where
S: Write,{ /* private fields */ }
Expand description
Only pass printable data to the inner Write
Implementations§
source§impl<S> StripStream<S>where
S: Write,
fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
diff --git a/anstream/all.html b/anstream/all.html
index d76e2d982e..3af88d5e02 100644
--- a/anstream/all.html
+++ b/anstream/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- AutoStream
- StripStream
- adapter::StripBytes
- adapter::StripBytesIter
- adapter::StripStr
- adapter::StripStrIter
- adapter::StrippedBytes
- adapter::StrippedStr
- adapter::WinconBytes
- adapter::WinconBytesIter
Enums
Traits
Macros
Functions
Type Aliases
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- AutoStream
- StripStream
- adapter::StripBytes
- adapter::StripBytesIter
- adapter::StripStr
- adapter::StripStrIter
- adapter::StrippedBytes
- adapter::StrippedStr
- adapter::WinconBytes
- adapter::WinconBytesIter
Enums
Traits
Macros
Functions
Type Aliases
\ No newline at end of file
diff --git a/anstream/enum.ColorChoice.html b/anstream/enum.ColorChoice.html
index 388a018d5c..ff06b2f3c6 100644
--- a/anstream/enum.ColorChoice.html
+++ b/anstream/enum.ColorChoice.html
@@ -1,4 +1,4 @@
-ColorChoice in anstream - Rust Enum anstream::ColorChoice
source · pub enum ColorChoice {
+ColorChoice in anstream - Rust Enum anstream::ColorChoice
source · pub enum ColorChoice {
Auto,
AlwaysAnsi,
Always,
diff --git a/anstream/fn.stderr.html b/anstream/fn.stderr.html
index 4e8d0f7d3c..e11555778f 100644
--- a/anstream/fn.stderr.html
+++ b/anstream/fn.stderr.html
@@ -1,4 +1,4 @@
-stderr in anstream - Rust pub fn stderr() -> Stderr
Expand description
Create an ANSI escape code compatible stderr
+stderr in anstream - Rust pub fn stderr() -> Stderr
Expand description
Create an ANSI escape code compatible stderr
Note: Call AutoStream::lock
in loops to avoid the performance hit of acquiring/releasing
from the implicit locking in each std::io::Write
call
\ No newline at end of file
diff --git a/anstream/fn.stdout.html b/anstream/fn.stdout.html
index 1a956275b5..cd5dea1ba5 100644
--- a/anstream/fn.stdout.html
+++ b/anstream/fn.stdout.html
@@ -1,4 +1,4 @@
-stdout in anstream - Rust pub fn stdout() -> Stdout
Expand description
Create an ANSI escape code compatible stdout
+stdout in anstream - Rust pub fn stdout() -> Stdout
Expand description
Create an ANSI escape code compatible stdout
Note: Call AutoStream::lock
in loops to avoid the performance hit of acquiring/releasing
from the implicit locking in each std::io::Write
call
\ No newline at end of file
diff --git a/anstream/index.html b/anstream/index.html
index c7d93ce4ac..9567305620 100644
--- a/anstream/index.html
+++ b/anstream/index.html
@@ -1,4 +1,4 @@
-anstream - Rust Expand description
Auto-adapting stdout
/ stderr
streams
+anstream - Rust Expand description
Auto-adapting stdout
/ stderr
streams
A portmanteau of “ansi stream”
AutoStream
always accepts ANSI escape codes,
adapting to the user’s terminal’s capabilities.
@@ -10,8 +10,7 @@
Available styling crates:
-- anstyle for minimal runtime styling, designed to go in public APIs
-(once it hits 1.0)
+- anstyle for minimal runtime styling, designed to go in public APIs
- owo-colors for feature-rich runtime styling
- color-print for feature-rich compile-time styling
diff --git a/anstream/macro.eprint.html b/anstream/macro.eprint.html
index e6ccc3d1aa..7f0281e382 100644
--- a/anstream/macro.eprint.html
+++ b/anstream/macro.eprint.html
@@ -1,4 +1,4 @@
-eprint in anstream - Rust macro_rules! eprint {
+eprint in anstream - Rust macro_rules! eprint {
($($arg:tt)*) => { ... };
}
Expand description
Prints to stderr
.
Equivalent to the print!
macro, except that output goes to
diff --git a/anstream/macro.eprintln.html b/anstream/macro.eprintln.html
index 74e26328b5..5618ba5c7f 100644
--- a/anstream/macro.eprintln.html
+++ b/anstream/macro.eprintln.html
@@ -1,4 +1,4 @@
-
eprintln in anstream - Rust macro_rules! eprintln {
+eprintln in anstream - Rust macro_rules! eprintln {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Prints to stderr
, with a newline.
diff --git a/anstream/macro.panic.html b/anstream/macro.panic.html
index 70bf915287..b743d62501 100644
--- a/anstream/macro.panic.html
+++ b/anstream/macro.panic.html
@@ -1,4 +1,4 @@
-panic in anstream - Rust macro_rules! panic {
+panic in anstream - Rust macro_rules! panic {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Panics the current thread.
diff --git a/anstream/macro.print.html b/anstream/macro.print.html
index 9a928d207f..f2508dd5dc 100644
--- a/anstream/macro.print.html
+++ b/anstream/macro.print.html
@@ -1,4 +1,4 @@
-print in anstream - Rust macro_rules! print {
+print in anstream - Rust macro_rules! print {
($($arg:tt)*) => { ... };
}
Expand description
Prints to stdout
.
Equivalent to the println!
macro except that a newline is not printed at
diff --git a/anstream/macro.println.html b/anstream/macro.println.html
index 9fc15320e4..01efd4eee9 100644
--- a/anstream/macro.println.html
+++ b/anstream/macro.println.html
@@ -1,4 +1,4 @@
-
println in anstream - Rust macro_rules! println {
+println in anstream - Rust macro_rules! println {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Prints to stdout
, with a newline.
diff --git a/anstream/stream/index.html b/anstream/stream/index.html
index aca666e54a..524cc2c956 100644
--- a/anstream/stream/index.html
+++ b/anstream/stream/index.html
@@ -1,2 +1,2 @@
-anstream::stream - Rust Expand description
Higher-level traits to describe writeable streams
+anstream::stream - Rust Expand description
Higher-level traits to describe writeable streams
Traits§
- Lock a stream
- Trait to determine if a descriptor/handle refers to a terminal/tty.
- Required functionality for underlying
std::io::Write
for adaptation
\ No newline at end of file
diff --git a/anstream/stream/trait.AsLockedWrite.html b/anstream/stream/trait.AsLockedWrite.html
index cf5ffd5825..0e6a1ed474 100644
--- a/anstream/stream/trait.AsLockedWrite.html
+++ b/anstream/stream/trait.AsLockedWrite.html
@@ -1,4 +1,4 @@
-AsLockedWrite in anstream::stream - Rust Trait anstream::stream::AsLockedWrite
source · pub trait AsLockedWrite: Sealed {
+AsLockedWrite in anstream::stream - Rust Trait anstream::stream::AsLockedWrite
source · pub trait AsLockedWrite: Sealed {
type Write<'w>: RawStream + 'w
where Self: 'w;
diff --git a/anstream/stream/trait.IsTerminal.html b/anstream/stream/trait.IsTerminal.html
index b10efa128c..e2733cda53 100644
--- a/anstream/stream/trait.IsTerminal.html
+++ b/anstream/stream/trait.IsTerminal.html
@@ -1,6 +1,6 @@
-IsTerminal in anstream::stream - Rust Trait anstream::stream::IsTerminal
source · pub trait IsTerminal: Sealed {
+IsTerminal in anstream::stream - Rust Trait anstream::stream::IsTerminal
source · pub trait IsTerminal: Sealed {
// Required method
fn is_terminal(&self) -> bool;
}
Expand description
Trait to determine if a descriptor/handle refers to a terminal/tty.
Required Methods§
sourcefn is_terminal(&self) -> bool
Returns true
if the descriptor/handle refers to a terminal/tty.
-Implementations on Foreign Types§
source§impl IsTerminal for &mut Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StdoutLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stderr
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stdout
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StdoutLock<'_>
source§fn is_terminal(&self) -> bool
Implementors§
\ No newline at end of file
+
Implementations on Foreign Types§
source§impl IsTerminal for &mut Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StdoutLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stderr
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stdout
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StdoutLock<'_>
source§fn is_terminal(&self) -> bool
Implementors§
\ No newline at end of file
diff --git a/anstream/stream/trait.RawStream.html b/anstream/stream/trait.RawStream.html
index 6043a90163..331f33503e 100644
--- a/anstream/stream/trait.RawStream.html
+++ b/anstream/stream/trait.RawStream.html
@@ -1,2 +1,2 @@
-RawStream in anstream::stream - Rust pub trait RawStream: Write + IsTerminal + Sealed { }
Expand description
Required functionality for underlying std::io::Write
for adaptation
+RawStream in anstream::stream - Rust pub trait RawStream: Write + IsTerminal + Sealed { }
Expand description
Required functionality for underlying std::io::Write
for adaptation
Implementations on Foreign Types§
source§impl RawStream for &mut Box<dyn Write>
source§impl RawStream for &mut Vec<u8>
source§impl RawStream for &mut File
source§impl RawStream for &mut StderrLock<'_>
source§impl RawStream for &mut StdoutLock<'_>
source§impl RawStream for Box<dyn Write>
source§impl RawStream for Vec<u8>
source§impl RawStream for File
source§impl RawStream for Stderr
source§impl RawStream for StderrLock<'_>
source§impl RawStream for Stdout
source§impl RawStream for StdoutLock<'_>
Implementors§
\ No newline at end of file
diff --git a/anstream/struct.AutoStream.html b/anstream/struct.AutoStream.html
index 068b27433f..d107eee69b 100644
--- a/anstream/struct.AutoStream.html
+++ b/anstream/struct.AutoStream.html
@@ -1,4 +1,4 @@
-AutoStream in anstream - Rust Struct anstream::AutoStream
source · pub struct AutoStream<S: RawStream> { /* private fields */ }
Expand description
std::io::Write
that adapts ANSI escape codes to the underlying Write
s capabilities
+AutoStream in anstream - Rust Struct anstream::AutoStream
source · pub struct AutoStream<S: RawStream> { /* private fields */ }
Expand description
std::io::Write
that adapts ANSI escape codes to the underlying Write
s capabilities
This includes
- Stripping colors for non-terminals
diff --git a/anstream/struct.StripStream.html b/anstream/struct.StripStream.html
index 83c249d9f9..00e5edf8ac 100644
--- a/anstream/struct.StripStream.html
+++ b/anstream/struct.StripStream.html
@@ -1,4 +1,4 @@
-StripStream in anstream - Rust Struct anstream::StripStream
source · pub struct StripStream<S>where
+StripStream in anstream - Rust Struct anstream::StripStream
source · pub struct StripStream<S>where
S: Write,{ /* private fields */ }
Expand description
Only pass printable data to the inner Write
Implementations§
source§impl<S> StripStream<S>where
S: Write,
List of all items
Structs
- AutoStream
- StripStream
- adapter::StripBytes
- adapter::StripBytesIter
- adapter::StripStr
- adapter::StripStrIter
- adapter::StrippedBytes
- adapter::StrippedStr
- adapter::WinconBytes
- adapter::WinconBytesIter
Enums
Traits
Macros
Functions
Type Aliases
List of all items
Structs
- AutoStream
- StripStream
- adapter::StripBytes
- adapter::StripBytesIter
- adapter::StripStr
- adapter::StripStrIter
- adapter::StrippedBytes
- adapter::StrippedStr
- adapter::WinconBytes
- adapter::WinconBytesIter
Enums
Traits
Macros
Functions
Type Aliases
Enum anstream::ColorChoice
source · pub enum ColorChoice {
+ColorChoice in anstream - Rust Enum anstream::ColorChoice
source · pub enum ColorChoice {
Auto,
AlwaysAnsi,
Always,
diff --git a/anstream/fn.stderr.html b/anstream/fn.stderr.html
index 4e8d0f7d3c..e11555778f 100644
--- a/anstream/fn.stderr.html
+++ b/anstream/fn.stderr.html
@@ -1,4 +1,4 @@
-stderr in anstream - Rust pub fn stderr() -> Stderr
Expand description
Create an ANSI escape code compatible stderr
+stderr in anstream - Rust pub fn stderr() -> Stderr
Expand description
Create an ANSI escape code compatible stderr
Note: Call AutoStream::lock
in loops to avoid the performance hit of acquiring/releasing
from the implicit locking in each std::io::Write
call
\ No newline at end of file
diff --git a/anstream/fn.stdout.html b/anstream/fn.stdout.html
index 1a956275b5..cd5dea1ba5 100644
--- a/anstream/fn.stdout.html
+++ b/anstream/fn.stdout.html
@@ -1,4 +1,4 @@
-stdout in anstream - Rust pub fn stdout() -> Stdout
Expand description
Create an ANSI escape code compatible stdout
+stdout in anstream - Rust pub fn stdout() -> Stdout
Expand description
Create an ANSI escape code compatible stdout
Note: Call AutoStream::lock
in loops to avoid the performance hit of acquiring/releasing
from the implicit locking in each std::io::Write
call
\ No newline at end of file
diff --git a/anstream/index.html b/anstream/index.html
index c7d93ce4ac..9567305620 100644
--- a/anstream/index.html
+++ b/anstream/index.html
@@ -1,4 +1,4 @@
-anstream - Rust Expand description
Auto-adapting stdout
/ stderr
streams
+anstream - Rust Expand description
Auto-adapting stdout
/ stderr
streams
A portmanteau of “ansi stream”
AutoStream
always accepts ANSI escape codes,
adapting to the user’s terminal’s capabilities.
@@ -10,8 +10,7 @@
Available styling crates:
-- anstyle for minimal runtime styling, designed to go in public APIs
-(once it hits 1.0)
+- anstyle for minimal runtime styling, designed to go in public APIs
- owo-colors for feature-rich runtime styling
- color-print for feature-rich compile-time styling
diff --git a/anstream/macro.eprint.html b/anstream/macro.eprint.html
index e6ccc3d1aa..7f0281e382 100644
--- a/anstream/macro.eprint.html
+++ b/anstream/macro.eprint.html
@@ -1,4 +1,4 @@
-eprint in anstream - Rust macro_rules! eprint {
+eprint in anstream - Rust macro_rules! eprint {
($($arg:tt)*) => { ... };
}
Expand description
Prints to stderr
.
Equivalent to the print!
macro, except that output goes to
diff --git a/anstream/macro.eprintln.html b/anstream/macro.eprintln.html
index 74e26328b5..5618ba5c7f 100644
--- a/anstream/macro.eprintln.html
+++ b/anstream/macro.eprintln.html
@@ -1,4 +1,4 @@
-
eprintln in anstream - Rust macro_rules! eprintln {
+eprintln in anstream - Rust macro_rules! eprintln {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Prints to stderr
, with a newline.
diff --git a/anstream/macro.panic.html b/anstream/macro.panic.html
index 70bf915287..b743d62501 100644
--- a/anstream/macro.panic.html
+++ b/anstream/macro.panic.html
@@ -1,4 +1,4 @@
-panic in anstream - Rust macro_rules! panic {
+panic in anstream - Rust macro_rules! panic {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Panics the current thread.
diff --git a/anstream/macro.print.html b/anstream/macro.print.html
index 9a928d207f..f2508dd5dc 100644
--- a/anstream/macro.print.html
+++ b/anstream/macro.print.html
@@ -1,4 +1,4 @@
-print in anstream - Rust macro_rules! print {
+print in anstream - Rust macro_rules! print {
($($arg:tt)*) => { ... };
}
Expand description
Prints to stdout
.
Equivalent to the println!
macro except that a newline is not printed at
diff --git a/anstream/macro.println.html b/anstream/macro.println.html
index 9fc15320e4..01efd4eee9 100644
--- a/anstream/macro.println.html
+++ b/anstream/macro.println.html
@@ -1,4 +1,4 @@
-
println in anstream - Rust macro_rules! println {
+println in anstream - Rust macro_rules! println {
() => { ... };
($($arg:tt)*) => { ... };
}
Expand description
Prints to stdout
, with a newline.
diff --git a/anstream/stream/index.html b/anstream/stream/index.html
index aca666e54a..524cc2c956 100644
--- a/anstream/stream/index.html
+++ b/anstream/stream/index.html
@@ -1,2 +1,2 @@
-anstream::stream - Rust Expand description
Higher-level traits to describe writeable streams
+anstream::stream - Rust Expand description
Higher-level traits to describe writeable streams
Traits§
- Lock a stream
- Trait to determine if a descriptor/handle refers to a terminal/tty.
- Required functionality for underlying
std::io::Write
for adaptation
\ No newline at end of file
diff --git a/anstream/stream/trait.AsLockedWrite.html b/anstream/stream/trait.AsLockedWrite.html
index cf5ffd5825..0e6a1ed474 100644
--- a/anstream/stream/trait.AsLockedWrite.html
+++ b/anstream/stream/trait.AsLockedWrite.html
@@ -1,4 +1,4 @@
-AsLockedWrite in anstream::stream - Rust Trait anstream::stream::AsLockedWrite
source · pub trait AsLockedWrite: Sealed {
+AsLockedWrite in anstream::stream - Rust Trait anstream::stream::AsLockedWrite
source · pub trait AsLockedWrite: Sealed {
type Write<'w>: RawStream + 'w
where Self: 'w;
diff --git a/anstream/stream/trait.IsTerminal.html b/anstream/stream/trait.IsTerminal.html
index b10efa128c..e2733cda53 100644
--- a/anstream/stream/trait.IsTerminal.html
+++ b/anstream/stream/trait.IsTerminal.html
@@ -1,6 +1,6 @@
-IsTerminal in anstream::stream - Rust Trait anstream::stream::IsTerminal
source · pub trait IsTerminal: Sealed {
+IsTerminal in anstream::stream - Rust Trait anstream::stream::IsTerminal
source · pub trait IsTerminal: Sealed {
// Required method
fn is_terminal(&self) -> bool;
}
Expand description
Trait to determine if a descriptor/handle refers to a terminal/tty.
Required Methods§
sourcefn is_terminal(&self) -> bool
Returns true
if the descriptor/handle refers to a terminal/tty.
-Implementations on Foreign Types§
source§impl IsTerminal for &mut Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StdoutLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stderr
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stdout
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StdoutLock<'_>
source§fn is_terminal(&self) -> bool
Implementors§
\ No newline at end of file
+
Implementations on Foreign Types§
source§impl IsTerminal for &mut Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for &mut StdoutLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Box<dyn Write>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Vec<u8>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for File
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stderr
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StderrLock<'_>
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for Stdout
source§fn is_terminal(&self) -> bool
source§impl IsTerminal for StdoutLock<'_>
source§fn is_terminal(&self) -> bool
Implementors§
\ No newline at end of file
diff --git a/anstream/stream/trait.RawStream.html b/anstream/stream/trait.RawStream.html
index 6043a90163..331f33503e 100644
--- a/anstream/stream/trait.RawStream.html
+++ b/anstream/stream/trait.RawStream.html
@@ -1,2 +1,2 @@
-RawStream in anstream::stream - Rust pub trait RawStream: Write + IsTerminal + Sealed { }
Expand description
Required functionality for underlying std::io::Write
for adaptation
+RawStream in anstream::stream - Rust pub trait RawStream: Write + IsTerminal + Sealed { }
Expand description
Required functionality for underlying std::io::Write
for adaptation
Implementations on Foreign Types§
source§impl RawStream for &mut Box<dyn Write>
source§impl RawStream for &mut Vec<u8>
source§impl RawStream for &mut File
source§impl RawStream for &mut StderrLock<'_>
source§impl RawStream for &mut StdoutLock<'_>
source§impl RawStream for Box<dyn Write>
source§impl RawStream for Vec<u8>
source§impl RawStream for File
source§impl RawStream for Stderr
source§impl RawStream for StderrLock<'_>
source§impl RawStream for Stdout
source§impl RawStream for StdoutLock<'_>
Implementors§
\ No newline at end of file
diff --git a/anstream/struct.AutoStream.html b/anstream/struct.AutoStream.html
index 068b27433f..d107eee69b 100644
--- a/anstream/struct.AutoStream.html
+++ b/anstream/struct.AutoStream.html
@@ -1,4 +1,4 @@
-AutoStream in anstream - Rust Struct anstream::AutoStream
source · pub struct AutoStream<S: RawStream> { /* private fields */ }
Expand description
std::io::Write
that adapts ANSI escape codes to the underlying Write
s capabilities
+AutoStream in anstream - Rust Struct anstream::AutoStream
source · pub struct AutoStream<S: RawStream> { /* private fields */ }
Expand description
std::io::Write
that adapts ANSI escape codes to the underlying Write
s capabilities
This includes
- Stripping colors for non-terminals
diff --git a/anstream/struct.StripStream.html b/anstream/struct.StripStream.html
index 83c249d9f9..00e5edf8ac 100644
--- a/anstream/struct.StripStream.html
+++ b/anstream/struct.StripStream.html
@@ -1,4 +1,4 @@
-StripStream in anstream - Rust Struct anstream::StripStream
source · pub struct StripStream<S>where
+StripStream in anstream - Rust Struct anstream::StripStream
source · pub struct StripStream<S>where
S: Write,{ /* private fields */ }
Expand description
Only pass printable data to the inner Write
Implementations§
source§impl<S> StripStream<S>where
S: Write,