pub trait Query<T: FlagsMarker> {
type Iter<'t>: Iterator<Item = &'t str>
where Self: 't;
// Required method
fn items<'t>(&'t self) -> Self::Iter<'t>;
}
Expand description
Items that can be used in Flags::contains()
§Warning
Although a few string types are supported,
their usage is not encouraged, since
we do not perform case conversion in contains
.
The user should take care to proivde only flatlowercase
strings.
Required Associated Types§
Required Methods§
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.