pub trait GapType {
    type Value;

    fn size(&self) -> usize;
    fn put(&self, buf: &mut [u8], value: Self::Value);
}
Expand description

A type capable of being represented as a gap in a buffer.

Required Associated Types§

The type of the gap.

Required Methods§

The size of the gap.

Insert a value into the provided buffer.

Implementors§