[−][src]Trait zamm_yang::tao::form::ModuleExtension
Trait to extend Module functionality that has not been auto-generated.
Provided methods
pub fn implementation_name(&self) -> Option<Rc<str>>
[src]
Retrieve the public name that this module is actually implemented with.
pub fn set_most_prominent_member(&mut self, member: &Form)
[src]
Set most prominent member of the module. By default, this also sets the name of the module to be a snake-cased version of that member's name.
pub fn most_prominent_member(&self) -> Option<Form>
[src]
Retrieve most prominent member of the module.
pub fn add_submodule(&mut self, name: &str) -> Module
[src]
Add a new submodule as a member of the current one.
pub fn submodules(&self) -> Vec<Module>
[src]
Get the submodules of this module.
pub fn re_export(&mut self, symbol: &str)
[src]
Add a new symbol to re-export from this module.
pub fn re_exports(&self) -> Vec<Rc<str>>
[src]
Retrieve all symbols re-exported by this module.
pub fn has_extension(&mut self, extension: &str)
[src]
Define the submodule for the given trait extension, and mark the trait for re-export.