pub trait IsDeclaration: Op {
// Required method
fn is_declaration(&self, ctx: &Context) -> bool
where Self: Sized;
}Expand description
Is a global value (variable or function) declaration.
Required Methods§
Sourcefn is_declaration(&self, ctx: &Context) -> boolwhere
Self: Sized,
fn is_declaration(&self, ctx: &Context) -> boolwhere
Self: Sized,
Check if this global value (variable or function) is a declaration.
Trait Implementations§
impl OpInterfaceMarker for dyn IsDeclaration
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".