Function capnp::raw::get_struct_data_section[][src]

pub fn get_struct_data_section<'a, T>(value: T) -> &'a [u8]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
where
    T: IntoInternalStructReader<'a>, 

Gets a slice view of the data section of a struct.