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§
Provided Methods§
Sourcefn write_signature(&self, b: &mut CodeBuffer)
fn write_signature(&self, b: &mut CodeBuffer)
Writes the function signature.