Skip to main content

Prefix

Trait Prefix 

Source
pub trait Prefix<T>:
    Clone
    + Send
    + Sync
    + 'static {
    // Required methods
    fn labels(&self) -> Vec<String>;
    fn selects(&self, whole: &T) -> bool;
}

Required Methods§

Source

fn labels(&self) -> Vec<String>

Source

fn selects(&self, whole: &T) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<A, B, C, D> Prefix<(A, B, C, D)> for (A, B)
where A: Track, B: Track, C: Track, D: Track,

Source§

fn labels(&self) -> Vec<String>

Source§

fn selects(&self, whole: &(A, B, C, D)) -> bool

Source§

impl<A, B, C, D> Prefix<(A, B, C, D)> for (A, B, C)
where A: Track, B: Track, C: Track, D: Track,

Source§

fn labels(&self) -> Vec<String>

Source§

fn selects(&self, whole: &(A, B, C, D)) -> bool

Source§

impl<A, B, C, D> Prefix<(A, B, C, D)> for (A, B, C, D)
where A: Track, B: Track, C: Track, D: Track,

Source§

fn labels(&self) -> Vec<String>

Source§

fn selects(&self, whole: &(A, B, C, D)) -> bool

Source§

impl<A, B, C, D> Prefix<(A, B, C, D)> for (A,)
where A: Track, B: Track, C: Track, D: Track,

Source§

fn labels(&self) -> Vec<String>

Source§

fn selects(&self, whole: &(A, B, C, D)) -> bool

Source§

impl<A, B, C> Prefix<(A, B, C)> for (A, B)
where A: Track, B: Track, C: Track,

Source§

fn labels(&self) -> Vec<String>

Source§

fn selects(&self, whole: &(A, B, C)) -> bool

Source§

impl<A, B, C> Prefix<(A, B, C)> for (A, B, C)
where A: Track, B: Track, C: Track,

Source§

fn labels(&self) -> Vec<String>

Source§

fn selects(&self, whole: &(A, B, C)) -> bool

Source§

impl<A, B, C> Prefix<(A, B, C)> for (A,)
where A: Track, B: Track, C: Track,

Source§

fn labels(&self) -> Vec<String>

Source§

fn selects(&self, whole: &(A, B, C)) -> bool

Source§

impl<A, B> Prefix<(A, B)> for (A, B)
where A: Track, B: Track,

Source§

fn labels(&self) -> Vec<String>

Source§

fn selects(&self, whole: &(A, B)) -> bool

Source§

impl<A, B> Prefix<(A, B)> for (A,)
where A: Track, B: Track,

Source§

fn labels(&self) -> Vec<String>

Source§

fn selects(&self, whole: &(A, B)) -> bool

Source§

impl<A> Prefix<(A,)> for (A,)
where A: Track,

Source§

fn labels(&self) -> Vec<String>

Source§

fn selects(&self, whole: &(A,)) -> bool

Implementors§