Skip to main content

SnapExt

Trait SnapExt 

Source
pub trait SnapExt<R: Runtime> {
    // Required method
    fn snap(&self) -> &Snap<R>;
}

Required Methods§

Source

fn snap(&self) -> &Snap<R>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<R: Runtime, T: Manager<R>> SnapExt<R> for T