Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adamaho/mule
/ functions
Functions
24 in github.com/adamaho/mule
⨍
Functions
24
◇
Types & classes
19
↓ 2 callers
Function
make_class
()
core/src/utils.rs:3
↓ 2 callers
Method
with_padding
TODO: Turn this into a derive macro for better reusability
core/src/components/vstack.rs:42
↓ 1 callers
Method
render
(&self)
core/src/components/view.rs:37
↓ 1 callers
Method
with_alignment
(mut self, alignment: TextAlignment)
core/src/components/text.rs:114
↓ 1 callers
Method
with_background
(mut self, color: Color)
core/src/components/view.rs:32
↓ 1 callers
Method
with_title
Change the document title of the page
core/src/components/view.rs:26
Method
css
(&self)
core/src/theme.rs:190
Method
css
Render the CSS output of a Text element
core/src/components/text.rs:131
Method
css
(&self)
core/src/components/vstack.rs:95
Method
default
()
core/src/components/text.rs:267
Method
fmt
(&self, f: &mut fmt::Formatter)
core/src/components/text.rs:179
Method
hex
TODO: add RGBA
core/src/theme.rs:89
Method
html
Render the HTMl output of a Text element
core/src/components/text.rs:122
Method
html
(&self)
core/src/components/vstack.rs:82
Function
main
()
playground/src/main.rs:11
Method
new
(child: T)
core/src/components/view.rs:17
Method
new
Create a new `Text` element. ``` Text::new("This is a text element") ```
core/src/components/text.rs:29
Method
new
(children: Vec<Box<dyn Component>>)
core/src/components/vstack.rs:14
Method
new
()
playground/src/component.rs:20
Method
with_alignment
(mut self, alignment: VStackHorizontalAlignment)
core/src/components/vstack.rs:31
Method
with_background
(mut self, color: Color)
core/src/components/vstack.rs:36
Method
with_color
(mut self, color: Color)
core/src/components/text.rs:109
Method
with_text_type
Modify the semantics and styling of the text element using `with_text_type`. For example, If we wanted to change the semantics to match that of a head
core/src/components/text.rs:55
Function
write_paragraphs
()
playground/src/component.rs:7