MCPcopy Create free account
hub / github.com/Lea-fish/Leafish / build_component_from_string

Method build_component_from_string

protocol/src/format.rs:464–469  ·  view source on GitHub ↗
(&self, str_format: String)

Source from the content-addressed store, hash-verified

462 }
463
464 pub fn build_component_from_string(&self, str_format: String) -> Component {
465 Component::new(ComponentType::Text {
466 text: str_format,
467 modifier: self.get_modifier(),
468 })
469 }
470}
471
472impl ComponentData {

Callers

nothing calls this directly

Calls 1

get_modifierMethod · 0.80

Tested by

no test coverage detected