Trait Tail

Source
pub trait Tail<P: Plugin> {
    // Required method
    fn get(plugin: &P) -> u32;
}

Required Methods§

Source

fn get(plugin: &P) -> u32

Any value greater or equal to i32::MAX implies infinite tail.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<P: Plugin> Tail<P> for ()

Source§

fn get(_: &P) -> u32

Implementors§