MCPcopy Index your code
hub / github.com/endbasic/endbasic / with_category

Method with_category

core/src/callable.rs:521–524  ·  view source on GitHub ↗

Sets the category for this callable. All callables with the same category name will be grouped together in help messages.

(mut self, category: &'static str)

Source from the content-addressed store, hash-verified

519 /// Sets the category for this callable. All callables with the same category name will be
520 /// grouped together in help messages.
521 pub fn with_category(mut self, category: &'static str) -> Self {
522 self.category = Some(category);
523 self
524 }
525
526 /// Sets the description for this callable. The `description` is a collection of paragraphs
527 /// separated by a single newline character, where the first paragraph is taken as the summary

Callers 15

newMethod · 0.80
newMethod · 0.80
newMethod · 0.80
newMethod · 0.80
new_with_nameMethod · 0.80
newMethod · 0.80
newMethod · 0.80
newMethod · 0.80
newMethod · 0.80
newMethod · 0.80
newMethod · 0.80
newMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected