Struct buffer_redux::policy::FlushOnNewline
source · pub struct FlushOnNewline;
Expand description
Flush the buffer if it contains a newline (\n
).
Equivalent to FlushOn(b'\n')
.
Trait Implementations§
source§impl Debug for FlushOnNewline
impl Debug for FlushOnNewline
source§impl Default for FlushOnNewline
impl Default for FlushOnNewline
source§fn default() -> FlushOnNewline
fn default() -> FlushOnNewline
Returns the “default value” for a type. Read more