Skip to main content

ClearableIoBuffer

Trait ClearableIoBuffer 

Source
pub trait ClearableIoBuffer {
    // Required method
    fn clear(&mut self);
}
Expand description

A buffer that can be cleared.

Required Methods§

Source

fn clear(&mut self)

Clears the buffer, setting it back to its initial state.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§