pub enum Element<'a> {
Anyfunc(Anyfunc<'a>),
}Expand description
Kind of table element.
Variants§
Trait Implementations§
Source§impl<'a> StorableInTable for Element<'a>
impl<'a> StorableInTable for Element<'a>
Source§fn unwrap_self(
storage: &TableStorage,
index: u32,
) -> Result<Self, TableAccessError>
fn unwrap_self( storage: &TableStorage, index: u32, ) -> Result<Self, TableAccessError>
Attempt to lookup self in the given table.
Source§fn wrap_self(
self,
storage: &mut TableStorage,
index: u32,
) -> Result<(), TableAccessError>
fn wrap_self( self, storage: &mut TableStorage, index: u32, ) -> Result<(), TableAccessError>
Wrap value to be stored in a table.
Auto Trait Implementations§
impl<'a> Freeze for Element<'a>
impl<'a> !RefUnwindSafe for Element<'a>
impl<'a> !Send for Element<'a>
impl<'a> !Sync for Element<'a>
impl<'a> Unpin for Element<'a>
impl<'a> !UnwindSafe for Element<'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