MCPcopy Create free account

hub / github.com/adamaho/mule / functions

Functions24 in github.com/adamaho/mule

↓ 2 callersFunctionmake_class
()
core/src/utils.rs:3
↓ 2 callersMethodwith_padding
TODO: Turn this into a derive macro for better reusability
core/src/components/vstack.rs:42
↓ 1 callersMethodrender
(&self)
core/src/components/view.rs:37
↓ 1 callersMethodwith_alignment
(mut self, alignment: TextAlignment)
core/src/components/text.rs:114
↓ 1 callersMethodwith_background
(mut self, color: Color)
core/src/components/view.rs:32
↓ 1 callersMethodwith_title
Change the document title of the page
core/src/components/view.rs:26
Methodcss
(&self)
core/src/theme.rs:190
Methodcss
Render the CSS output of a Text element
core/src/components/text.rs:131
Methodcss
(&self)
core/src/components/vstack.rs:95
Methoddefault
()
core/src/components/text.rs:267
Methodfmt
(&self, f: &mut fmt::Formatter)
core/src/components/text.rs:179
Methodhex
TODO: add RGBA
core/src/theme.rs:89
Methodhtml
Render the HTMl output of a Text element
core/src/components/text.rs:122
Methodhtml
(&self)
core/src/components/vstack.rs:82
Functionmain
()
playground/src/main.rs:11
Methodnew
(child: T)
core/src/components/view.rs:17
Methodnew
Create a new `Text` element. ``` Text::new("This is a text element") ```
core/src/components/text.rs:29
Methodnew
(children: Vec<Box<dyn Component>>)
core/src/components/vstack.rs:14
Methodnew
()
playground/src/component.rs:20
Methodwith_alignment
(mut self, alignment: VStackHorizontalAlignment)
core/src/components/vstack.rs:31
Methodwith_background
(mut self, color: Color)
core/src/components/vstack.rs:36
Methodwith_color
(mut self, color: Color)
core/src/components/text.rs:109
Methodwith_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
Functionwrite_paragraphs
()
playground/src/component.rs:7