Struct patternfly_dioxus::PfLabelProps
source · [−]pub struct PfLabelProps<'a> {
pub icon_name: Option<&'a str>,
pub append_class: Option<&'a str>,
pub children: Element<'a>,
}Fields
icon_name: Option<&'a str>append_class: Option<&'a str>children: Element<'a>Implementations
sourceimpl<'a> PfLabelProps<'a>
impl<'a> PfLabelProps<'a>
sourcepub fn builder() -> PfLabelPropsBuilder<'a, ((), (), ())>
pub fn builder() -> PfLabelPropsBuilder<'a, ((), (), ())>
Create a builder for building PfLabelProps.
On the builder, call .icon_name(...)(optional), .append_class(...)(optional), .children(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of PfLabelProps.
Trait Implementations
sourceimpl<'a> Properties for PfLabelProps<'a>
impl<'a> Properties for PfLabelProps<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for PfLabelProps<'a>
impl<'a> !Send for PfLabelProps<'a>
impl<'a> !Sync for PfLabelProps<'a>
impl<'a> Unpin for PfLabelProps<'a>
impl<'a> !UnwindSafe for PfLabelProps<'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