[][src]Trait pigeon::Target

pub trait Target {
    fn write_bytes_at(&mut self, pos: usize, bytes: &[u8]);
fn size(&self) -> usize; }

A type which can be written to by a Writer.

Required methods

fn write_bytes_at(&mut self, pos: usize, bytes: &[u8])

Write these bytes at a specific position.

fn size(&self) -> usize

Get the size of the buffer.

Loading content...

Implementations on Foreign Types

impl Target for ()[src]

impl<'a> Target for &'a mut [u8][src]

Loading content...

Implementors

Loading content...