Struct buffer::CapAt
[−]
[src]
pub struct CapAt<'data, T: Buffer<'data>> { /* fields omitted */ }
The result of a cap_at
call on a buffer.
See its documentation for more info.
Trait Implementations
impl<'data, T: Buffer<'data>> Buffer<'data> for CapAt<'data, T>
[src]
type Intermediate = CapAtBuffer<'data, T::Intermediate>
Intermediate result of converting the T: Buffer
into a BufferRef
.
fn to_to_buffer_ref(self) -> Self::Intermediate
Converts the T: Buffer
into the intermediate step to BufferRef
.
fn cap_at(self, len: usize) -> CapAt<'data, Self> where
Self: Sized,
Self: Sized,
Caps the buffer at the specified byte index. Read more