pub enum VTableEntry {
FunctionId(u16),
Closure {
function_id: u16,
upvalues: Vec<Upvalue>,
},
}Expand description
An entry in a vtable — how to dispatch a method call
Variants§
Trait Implementations§
Source§impl Clone for VTableEntry
impl Clone for VTableEntry
Source§fn clone(&self) -> VTableEntry
fn clone(&self) -> VTableEntry
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for VTableEntry
impl RefUnwindSafe for VTableEntry
impl Send for VTableEntry
impl Sync for VTableEntry
impl Unpin for VTableEntry
impl UnsafeUnpin for VTableEntry
impl UnwindSafe for VTableEntry
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