pub struct Popup {
pub box_style: ContentStyle,
pub text_style: ContentStyle,
/* private fields */
}Fields§
§box_style: ContentStyle§text_style: ContentStyleImplementations§
Source§impl Popup
impl Popup
pub fn new(title: impl Into<String>) -> Self
pub fn with_texts<S, TS>(self, texts: TS) -> Self
pub fn with_box_style(self, style: ContentStyle) -> Self
pub fn with_text_style(self, style: ContentStyle) -> Self
pub fn to_window(self) -> FullScreenPopup
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Popup
impl RefUnwindSafe for Popup
impl Send for Popup
impl Sync for Popup
impl Unpin for Popup
impl UnwindSafe for Popup
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