pub trait BlockName {
// Required method
fn block_name(&self) -> &str;
}Expand description
Provide name of block.
This has to be a separate trait, because often the impl is proc macro
generated, and it’s not possible to re-open the same trait impl in Rust.
Required Methods§
Sourcefn block_name(&self) -> &str
fn block_name(&self) -> &str
Name of block
Not name of instance of block. But it may include the type. E.g.
FileSource<Float>.