pub struct TableList<'a> { /* private fields */ }Expand description
[u32 count][u16 elem_fixed_len][count × fixed part]
Implementations§
Source§impl<'a> TableList<'a>
impl<'a> TableList<'a>
pub fn at(buf: &'a [u8], pos: usize) -> Result<Self, Error>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn elem_fixed_len(&self) -> u16
pub fn get(&self, i: usize) -> Result<TableRef<'a>, Error>
pub fn iter( &self, ) -> impl ExactSizeIterator<Item = Result<TableRef<'a>, Error>> + 'a
Trait Implementations§
impl<'a> Copy for TableList<'a>
Auto Trait Implementations§
impl<'a> Freeze for TableList<'a>
impl<'a> RefUnwindSafe for TableList<'a>
impl<'a> Send for TableList<'a>
impl<'a> Sync for TableList<'a>
impl<'a> Unpin for TableList<'a>
impl<'a> UnwindSafe for TableList<'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