Skip to main content

IsDeclaration

Trait IsDeclaration 

Source
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§

Source

fn is_declaration(&self, ctx: &Context) -> bool
where Self: Sized,

Check if this global value (variable or function) is a declaration.

Trait Implementations§

Implementors§