pub trait IntoTargetPredicate {
    type Predicate: Predicate<str>;

    // Required method
    fn into_predicate(self) -> Self::Predicate;
}
Expand description

Conversion into a predicate for the target used in the target() function.

Required Associated Types§

source

type Predicate: Predicate<str>

Predicate output of the conversion. The exact type should be considered an implementation detail and should not be relied upon.

Required Methods§

source

fn into_predicate(self) -> Self::Predicate

Performs the conversion.

Implementations on Foreign Types§

source§

impl<'a> IntoTargetPredicate for &'a str

§

type Predicate = TargetStrPredicate<'a>

source§

fn into_predicate(self) -> Self::Predicate

source§

impl<P: Predicate<str>> IntoTargetPredicate for [P; 1]

§

type Predicate = P

source§

fn into_predicate(self) -> Self::Predicate

Implementors§