pub struct VTable {
pub name: String,
pub concrete_type: String,
pub methods: Vec<String>,
}Expand description
Vtable emitted for a (Trait, Concrete) pair used by dyn coercion.
Fields§
§name: StringSymbol name, e.g. __vt_Display_Point.
concrete_type: StringConcrete type whose methods the vtable forwards to.
methods: Vec<String>Method names present on the trait (and thus on this vtable).
Trait Implementations§
impl Eq for VTable
impl StructuralPartialEq for VTable
Auto Trait Implementations§
impl Freeze for VTable
impl RefUnwindSafe for VTable
impl Send for VTable
impl Sync for VTable
impl Unpin for VTable
impl UnsafeUnpin for VTable
impl UnwindSafe for VTable
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