Struct capnp::private::layout::ListReader
source · pub struct ListReader<'a> { /* private fields */ }
Implementations§
source§impl<'a> ListReader<'a>
impl<'a> ListReader<'a>
pub fn new_default<'b>() -> ListReader<'b>
pub fn imbue(&mut self, cap_table: CapTableReader)
pub fn len(&self) -> ElementCount32
pub fn get_struct_element(&self, index: ElementCount32) -> StructReader<'a>
pub fn get_pointer_element(self, index: ElementCount32) -> PointerReader<'a>
pub fn is_canonical(
&self,
read_head: &Cell<*const u8>,
reff: *const WirePointer
) -> Result<bool>
Trait Implementations§
source§impl<'a> Clone for ListReader<'a>
impl<'a> Clone for ListReader<'a>
source§fn clone(&self) -> ListReader<'a>
fn clone(&self) -> ListReader<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more