pub struct FlushOn(pub u8);
Expand description
Flush the buffer if it contains the given byte.
Only scans the buffer after reading. Searches from the end first.
Formats the value using the given formatter.
Read more
Returns the “default value” for a type.
Read more
Return
true
if the buffer should be flushed after reading into it.
Read more
Return
FlushAmt(n > 0)
if the buffer should be flushed before reading into it.
If the returned amount is 0 or greater than the amount of buffered data, no flush is
performed.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.