[−][src]Function abin::maybe_shrink
pub fn maybe_shrink<T: ExcessShrink>(
vec: &mut Vec<u8>,
never_below_excess: usize
) -> bool
Shrinks the vector (if T says to do so). Returns true if vec has been shrunk, returns false if not.
never_below_excess
: Makes sure to never shrink the vector below given excess.