pub struct PfDropDownItemProps<'a> {
pub children: Element<'a>,
pub item_str: String,
pub selected: UseState<String>,
}Fields§
§children: Element<'a>§item_str: String§selected: UseState<String>Implementations§
Source§impl<'a> PfDropDownItemProps<'a>
impl<'a> PfDropDownItemProps<'a>
Sourcepub fn builder() -> PfDropDownItemPropsBuilder<'a, ((), (), ())>
pub fn builder() -> PfDropDownItemPropsBuilder<'a, ((), (), ())>
Create a builder for building PfDropDownItemProps.
On the builder, call .children(...)(optional), .item_str(...), .selected(...) to set the values of the fields.
Finally, call .build() to create the instance of PfDropDownItemProps.
Trait Implementations§
Source§impl<'a> Properties for PfDropDownItemProps<'a>
impl<'a> Properties for PfDropDownItemProps<'a>
Auto Trait Implementations§
impl<'a> !Freeze for PfDropDownItemProps<'a>
impl<'a> !RefUnwindSafe for PfDropDownItemProps<'a>
impl<'a> !Send for PfDropDownItemProps<'a>
impl<'a> !Sync for PfDropDownItemProps<'a>
impl<'a> Unpin for PfDropDownItemProps<'a>
impl<'a> !UnwindSafe for PfDropDownItemProps<'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