pub struct InputPropsBuilder { /* private fields */ }Implementations§
Source§impl InputPropsBuilder
impl InputPropsBuilder
pub fn class(self, val: impl Into<Option<Cow<'static, str>>>) -> Self
pub fn type(self, val: impl Into<Option<Cow<'static, str>>>) -> Self
pub fn placeholder(self, val: impl Into<Option<Cow<'static, str>>>) -> Self
pub fn value(self, val: impl Into<Option<Cow<'static, str>>>) -> Self
pub fn disabled(self, val: bool) -> Self
pub fn attrs(self, val: AttrMap) -> Self
pub fn build(self) -> InputProps
Trait Implementations§
Source§impl From<InputPropsBuilder> for InputProps
impl From<InputPropsBuilder> for InputProps
Source§fn from(b: InputPropsBuilder) -> Self
fn from(b: InputPropsBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InputPropsBuilder
impl RefUnwindSafe for InputPropsBuilder
impl Send for InputPropsBuilder
impl Sync for InputPropsBuilder
impl Unpin for InputPropsBuilder
impl UnsafeUnpin for InputPropsBuilder
impl UnwindSafe for InputPropsBuilder
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