Lis

Trait Lis 

Source
pub trait Lis {
    type Item: Ord + Clone;

    // Required method
    fn lis(
        &self,
        strict: bool,
        mp: impl LisMapProj<Self::Item>,
    ) -> Vec<Self::Item>;

    // Provided method
    fn lis_len(&self, strict: bool) -> usize { ... }
}

Required Associated Types§

Required Methods§

Source

fn lis(&self, strict: bool, mp: impl LisMapProj<Self::Item>) -> Vec<Self::Item>

Provided Methods§

Source

fn lis_len(&self, strict: bool) -> usize

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<T> Lis for [T]
where T: Ord + Clone,

Source§

type Item = T

Source§

fn lis(&self, strict: bool, mp: impl LisMapProj<T>) -> Vec<<[T] as Lis>::Item>

Source§

fn lis_len(&self, strict: bool) -> usize

Implementors§