Trait HasNameReference

Source
pub trait HasNameReference {
    // Required methods
    fn name_reference(&self) -> &IdentifierReference;
    fn set_name_reference(&mut self, name: IdentifierReference);
}
Expand description

This trait is implemented by types whose name is derived from a reference.

Required Methods§

Source

fn name_reference(&self) -> &IdentifierReference

Get the name reference for the enclosing type.

Source

fn set_name_reference(&mut self, name: IdentifierReference)

Set the name reference for the enclosing type.

Implementors§