Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/INSAgenda/yew-template
/ functions
Functions
31 in github.com/INSAgenda/yew-template
⨍
Functions
31
◇
Types & classes
15
↓ 6 callers
Method
to_code
(&self, values: Vec<String>)
src/helper.rs:59
↓ 4 callers
Function
escaped_str_code
Used to safely embed external strings into generated Rust code without risking injection attacks.
src/codegen.rs:4
↓ 4 callers
Method
get_val
(&self, id: &str, opts: &mut Vec<String>, iters: &mut Vec<String>, args: &Args)
src/args.rs:32
↓ 2 callers
Function
attr_to_code
Turns an HTML attribute to Rust code for Yew
src/codegen.rs:26
↓ 2 callers
Function
context_from_path
(path: &str)
src/i18n.rs:11
↓ 2 callers
Method
into_code
Turns the HTML part into Rust code for Yew
src/html_element.rs:11
↓ 2 callers
Method
parse
(value: &str)
src/helper.rs:10
↓ 1 callers
Method
clean_text
(&mut self)
src/html_element.rs:35
↓ 1 callers
Function
element_to_code
Turns an HTML element and its children to Rust code for Yew
src/codegen.rs:75
↓ 1 callers
Function
generate_code
(root: Element, args: Args)
src/codegen.rs:249
↓ 1 callers
Function
generate_pot
(root: &Element, args: &Args)
src/i18n.rs:46
↓ 1 callers
Method
generate_pot_part
(&self)
src/i18n.rs:41
↓ 1 callers
Method
get_translatables
(&self, args: &Args)
src/i18n.rs:16
↓ 1 callers
Method
into_vec
(self)
src/config.rs:11
↓ 1 callers
Function
parse_args
(args: TokenStream)
src/args.rs:81
↓ 1 callers
Function
read_config
()
src/config.rs:95
↓ 1 callers
Function
read_template
(args: &Args)
src/sink.rs:62
↓ 1 callers
Function
text_part_to_code
Turns a [TextPart] to Rust code for Yew
src/codegen.rs:10
↓ 1 callers
Function
text_to_code
Turns HTML text to Rust code for Yew
src/codegen.rs:185
↓ 1 callers
Method
translate_text
(&self, text: &str, args: &Args)
src/i18n.rs:135
Method
default
()
src/config.rs:44
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/args.rs:23
Method
from
(val: ConfigLoader)
src/config.rs:71
Function
main
()
tests/main.rs:8
Method
new
(locale_directory: &str)
src/i18n.rs:94
Method
parse
Parses HTML text into a list of text parts
src/text_part.rs:14
Function
print_default_config
()
src/config.rs:125
Method
process_token
(&mut self, token: HtmlToken, line_number: u64)
src/sink.rs:13
Function
template_html
(args: TokenStream)
src/lib.rs:39
Function
test_helper
()
src/helper.rs:70
Method
to_code
Turns the text part into valid Rust code for Yew
src/text_part.rs:40