Skip to main content

WithVTable

Trait WithVTable 

Source
trait WithVTable<T>: Debug {
    // Required method
    fn by_ref(&self) -> &T;
}

Required Methods§

Source

fn by_ref(&self) -> &T

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: Debug> WithVTable<T> for T