Struct freya_components::DropdownItemProps
source · pub struct DropdownItemProps<'a, T: 'static> { /* private fields */ }Expand description
DropdownItem component properties.
Implementations§
source§impl<'a, T: 'static> DropdownItemProps<'a, T>
impl<'a, T: 'static> DropdownItemProps<'a, T>
sourcepub fn builder() -> DropdownItemPropsBuilder<'a, ((), (), ()), T>
pub fn builder() -> DropdownItemPropsBuilder<'a, ((), (), ()), T>
Create a builder for building DropdownItemProps.
On the builder, call .children(...)(optional), .value(...), .onclick(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of DropdownItemProps.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> !RefUnwindSafe for DropdownItemProps<'a, T>
impl<'a, T> !Send for DropdownItemProps<'a, T>
impl<'a, T> !Sync for DropdownItemProps<'a, T>
impl<'a, T> Unpin for DropdownItemProps<'a, T>where T: Unpin,
impl<'a, T> !UnwindSafe for DropdownItemProps<'a, T>
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer