pub struct SelectPropsSimple<'a, Id>{
pub id_source: Id,
pub selected: &'a mut Option<String>,
pub options: &'a [String],
pub placeholder: &'a str,
pub size: ControlSize,
pub enabled: bool,
pub is_invalid: bool,
}Fields§
§id_source: Id§selected: &'a mut Option<String>§options: &'a [String]§placeholder: &'a str§size: ControlSize§enabled: bool§is_invalid: boolTrait Implementations§
Auto Trait Implementations§
impl<'a, Id> Freeze for SelectPropsSimple<'a, Id>where
Id: Freeze,
impl<'a, Id> RefUnwindSafe for SelectPropsSimple<'a, Id>where
Id: RefUnwindSafe,
impl<'a, Id> Send for SelectPropsSimple<'a, Id>where
Id: Send,
impl<'a, Id> Sync for SelectPropsSimple<'a, Id>where
Id: Sync,
impl<'a, Id> Unpin for SelectPropsSimple<'a, Id>where
Id: Unpin,
impl<'a, Id> UnsafeUnpin for SelectPropsSimple<'a, Id>where
Id: UnsafeUnpin,
impl<'a, Id> !UnwindSafe for SelectPropsSimple<'a, Id>
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