pub trait HasTypeBounds: AstNode {
// Provided methods
fn type_bound_list(&self) -> Option<TypeBoundList> { ... }
fn colon_token(&self) -> Option<SyntaxToken> { ... }
}Provided Methods§
fn type_bound_list(&self) -> Option<TypeBoundList>
fn colon_token(&self) -> Option<SyntaxToken>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".