pub trait Selection {
type SubStmts;
// Provided methods
fn keywords() -> Vec<Keyword> ⓘ { ... }
fn new() -> Self
where Self: Sized { ... }
fn new_with_substmts(_substmts: Self::SubStmts) -> Self
where Self: Sized { ... }
}Required Associated Types§
Provided Methods§
Sourcefn new_with_substmts(_substmts: Self::SubStmts) -> Selfwhere
Self: Sized,
fn new_with_substmts(_substmts: Self::SubStmts) -> Selfwhere
Self: Sized,
Constructor with tuple of substatements. Panic if it is not defined.
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.