pub trait BufferResize {
// Required method
fn resize(&mut self, size: usize);
}Expand description
Buffer types which can support arbitrary resizing.
For more info see the buffer module docs.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<U: Unit> BufferResize for &mut Vec<U>
Available on crate features std only.
impl<U: Unit> BufferResize for &mut Vec<U>
Available on crate features
std only.Source§impl<U: Unit> BufferResize for Vec<U>
Available on crate features std only.
impl<U: Unit> BufferResize for Vec<U>
Available on crate features
std only.