Skip to main content

Text

Trait Text 

Source
pub trait Text: Sized {
    // Provided methods
    fn is_like<S: AsRef<str>>(&self, scope: &Scope, _: S) -> bool { ... }
    fn is_not_like<S: AsRef<str>>(&self, scope: &Scope, _: S) -> bool { ... }
    fn is_glob<S: AsRef<str>>(&self, scope: &Scope, _: S) -> bool { ... }
}

Provided Methods§

Source

fn is_like<S: AsRef<str>>(&self, scope: &Scope, _: S) -> bool

Source

fn is_not_like<S: AsRef<str>>(&self, scope: &Scope, _: S) -> bool

Source

fn is_glob<S: AsRef<str>>(&self, scope: &Scope, _: S) -> 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 Text for String

Implementors§