Trait style::ShrinkIfNeeded
source · pub(crate) trait ShrinkIfNeeded {
// Required method
fn shrink_if_needed(&mut self);
}
Expand description
Shrink the capacity of the collection if needed.
pub(crate) trait ShrinkIfNeeded {
// Required method
fn shrink_if_needed(&mut self);
}
Shrink the capacity of the collection if needed.