pub struct MultiSelectStatic { /* private fields */ }Expand description
下拉选择-多选
Implementations§
Source§impl MultiSelectStatic
impl MultiSelectStatic
pub fn new() -> Self
pub fn type(self, type: &str) -> Self
pub fn name(self, name: &str) -> Self
pub fn required(self, required: bool) -> Self
pub fn disabled(self, disabled: bool) -> Self
pub fn placeholder(self, placeholder: PlainText) -> Self
pub fn width(self, width: &str) -> Self
pub fn values(self, values: Vec<&str>) -> Self
pub fn options(self, options: Vec<SelectStaticOption>) -> Self
pub fn confirm(self, confirm: InputConfirm) -> Self
Trait Implementations§
Source§impl Debug for MultiSelectStatic
impl Debug for MultiSelectStatic
Source§impl Default for MultiSelectStatic
impl Default for MultiSelectStatic
Source§impl<'de> Deserialize<'de> for MultiSelectStatic
impl<'de> Deserialize<'de> for MultiSelectStatic
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 MultiSelectStatic
impl RefUnwindSafe for MultiSelectStatic
impl Send for MultiSelectStatic
impl Sync for MultiSelectStatic
impl Unpin for MultiSelectStatic
impl UnwindSafe for MultiSelectStatic
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