Trait nekolib_doc::seq::lis::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

Object Safety§

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§