Macro cookie_factory::gen_copy [] [src]

macro_rules! gen_copy {
    (($i:expr, $idx:expr), $val:expr, $l:expr) => { ... };
    ($i:expr, $val:expr, $l:expr) => { ... };
}

gen_copy!(I, &[u8], u8) => I -> Result<I,E> Writes a slice, copying only the specified number of bytes to the output buffer.