Trait alpaca::pad::Paddable [] [src]

pub trait Paddable {
    fn pad(&mut self, _: usize);
}

When Paddable is implemented for a data type, we can pad objects of that data type.

Required Methods

Pads an object up to a given size.

Arguments

  • target_size - The target size.

Implementors