pub enum ModalChild {
TextInput(TextInputElement),
Select(SelectElement),
RadioSelect(RadioSelectElement),
}Expand description
A child element inside a ModalElement.
Variants§
TextInput(TextInputElement)
A text input field.
Select(SelectElement)
A dropdown select menu.
RadioSelect(RadioSelectElement)
A radio-button select group.
Trait Implementations§
Source§impl Clone for ModalChild
impl Clone for ModalChild
Source§fn clone(&self) -> ModalChild
fn clone(&self) -> ModalChild
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModalChild
impl Debug for ModalChild
Source§impl<'de> Deserialize<'de> for ModalChild
impl<'de> Deserialize<'de> for ModalChild
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ModalChild
impl RefUnwindSafe for ModalChild
impl Send for ModalChild
impl Sync for ModalChild
impl Unpin for ModalChild
impl UnsafeUnpin for ModalChild
impl UnwindSafe for ModalChild
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