WithSignature

Trait WithSignature 

Source
pub trait WithSignature {
    // Required method
    fn signature(&self) -> &Signature;

    // Provided method
    fn write_signature(&self, b: &mut CodeBuffer) { ... }
}
Expand description

An element with a function signature.

Required Methods§

Source

fn signature(&self) -> &Signature

Gets the function signature.

Provided Methods§

Source

fn write_signature(&self, b: &mut CodeBuffer)

Writes the function signature.

Implementors§