Struct patternfly_dioxus::PfAlertProps
source · [−]pub struct PfAlertProps<'a> {
pub variation: Option<Variation>,
pub description: Option<&'a str>,
pub children: Element<'a>,
}Fields
variation: Option<Variation>description: Option<&'a str>children: Element<'a>Implementations
sourceimpl<'a> PfAlertProps<'a>
impl<'a> PfAlertProps<'a>
sourcepub fn builder() -> PfAlertPropsBuilder<'a, ((), (), ())>
pub fn builder() -> PfAlertPropsBuilder<'a, ((), (), ())>
Create a builder for building PfAlertProps.
On the builder, call .variation(...)(optional), .description(...)(optional), .children(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of PfAlertProps.
Trait Implementations
sourceimpl<'a> Properties for PfAlertProps<'a>
impl<'a> Properties for PfAlertProps<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for PfAlertProps<'a>
impl<'a> !Send for PfAlertProps<'a>
impl<'a> !Sync for PfAlertProps<'a>
impl<'a> Unpin for PfAlertProps<'a>
impl<'a> !UnwindSafe for PfAlertProps<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more