Skip to main content

SuggestionCollectionExt

Trait SuggestionCollectionExt 

Source
pub trait SuggestionCollectionExt {
    // Required method
    fn to_replace_suggestions(
        self,
        case_template: impl IntoIterator<Item = impl Borrow<char>> + Clone,
    ) -> impl Iterator<Item = Suggestion>;
}

Required Methods§

Source

fn to_replace_suggestions( self, case_template: impl IntoIterator<Item = impl Borrow<char>> + Clone, ) -> impl Iterator<Item = Suggestion>

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.

Implementors§

Source§

impl<I, T> SuggestionCollectionExt for I
where I: IntoIterator<Item = T>, T: AsRef<str>,