MCPcopy Create free account
hub / github.com/IgKh/katvan / qstringToRust

Function qstringToRust

typstdriver/typstdriver_engine.cpp:35–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33namespace katvan::typstdriver {
34
35static rust::String qstringToRust(const QString& str)
36{
37 QByteArray data = str.toUtf8();
38 return rust::String { data.constData(), static_cast<size_t>(data.size()) };
39}
40
41struct Engine::EnginePrivate
42{

Callers 8

initMethod · 0.85
setSourceMethod · 0.85
applyContentEditMethod · 0.85
compileMethod · 0.85
exportToPdfMethod · 0.85
exportToPngMethod · 0.85
exportToPngMultiMethod · 0.85
applySettingsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected