Struct ui::Container
zaun_client::ui::Container · Struct
pub struct Container { … }A box around other components (type 17).
Methods
Section titled “Methods”pub fn new() -> SelfAn empty container.
accent
Section titled “accent”pub const fn accent(self, rgb: u32) -> SelfIts accent colour, 0xRRGGBB.
pub fn text<impl Into<String>>(self, content: impl Into<String>) -> SelfAdds markdown text.
pub fn push(self, component: Component) -> SelfAdds any layout component (section, gallery, file, separator).
pub fn row(self, row: ActionRow) -> SelfAdds a row.
pub fn build(self) -> ComponentThe component.
Trait implementations
Section titled “Trait implementations”Clone, Debug, Default