pub trait Scoped: Sized {
// Provided methods
fn scope(self, transform: impl FnOnce(Self) -> Self) -> Self { ... }
fn scope_if(
self,
condition: bool,
transform: impl FnOnce(Self) -> Self,
) -> Self { ... }
}Expand description
Fluent application of named scopes to a query.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".