pub struct ModalProps { /* private fields */ }
Implementations§
Source§impl ModalProps
impl ModalProps
Sourcepub fn builder() -> ModalPropsBuilder<((), ())>
pub fn builder() -> ModalPropsBuilder<((), ())>
Create a builder for building ModalProps
.
On the builder, call .size(...)
(optional), .children(...)
to set the values of the fields.
Finally, call .build()
to create the instance of ModalProps
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModalProps
impl RefUnwindSafe for ModalProps
impl Send for ModalProps
impl Sync for ModalProps
impl Unpin for ModalProps
impl UnwindSafe for ModalProps
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