pub enum ModalSection {
Title(TitleSection),
Fields(FieldSection),
Text(TextSection),
Menu(MenuSection),
Custom(Vec<String>),
Divider {
dimmed: bool,
},
Footer(Box<FooterSection>),
}Expand description
Represents a distinct visual or interactive section in a modal.
Variants§
Title(TitleSection)
Title header section with centered title and optional navigation breadcrumbs
Fields(FieldSection)
Responsive field group with delimiter and smart multi-row wrapping
Text(TextSection)
Word-wrapped descriptive paragraph or text lines
Menu(MenuSection)
Selectable menu or button list
Custom(Vec<String>)
Custom pre-formatted lines inside the frame
Divider
Horizontal box divider line (├──────┤)
Bottom footer shortcut help bar
Trait Implementations§
Source§impl Clone for ModalSection
impl Clone for ModalSection
Auto Trait Implementations§
impl Forget for ModalSection
impl Freeze for ModalSection
impl Move for ModalSection
impl RefUnwindSafe for ModalSection
impl Send for ModalSection
impl Sync for ModalSection
impl Unpin for ModalSection
impl UnsafeUnpin for ModalSection
impl UnwindSafe for ModalSection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more