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 is_empty(&self) -> bool
pub fn get_struct_element(&self, index: ElementCount32) -> StructReader<'a>
pub fn get_pointer_element(self, index: ElementCount32) -> PointerReader<'a>
pub unsafe 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 moreimpl<'a> Copy for ListReader<'a>
Auto Trait Implementations§
impl<'a> Freeze for ListReader<'a>
impl<'a> !RefUnwindSafe for ListReader<'a>
impl<'a> !Send for ListReader<'a>
impl<'a> !Sync for ListReader<'a>
impl<'a> Unpin for ListReader<'a>
impl<'a> !UnwindSafe for ListReader<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more