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§
Source§impl<'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§
Source§impl<'a> Properties for PfLabelProps<'a>
impl<'a> Properties for PfLabelProps<'a>
Auto Trait Implementations§
impl<'a> !Freeze for PfLabelProps<'a>
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§
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